An individual element of a KML track object. More...
Header: | #include <KmlTrackElement.h> |
Since: | Esri::ArcGISRuntime 200.6 |
Inherits: | Esri::ArcGISRuntime::Object |
Public Functions
KmlTrackElement(const QDateTime &when, const Esri::ArcGISRuntime::Point &coordinate, Esri::ArcGISRuntime::KmlOrientation *angle, QObject *parent = nullptr) | |
virtual | ~KmlTrackElement() override |
Esri::ArcGISRuntime::KmlOrientation * | angle() const |
Esri::ArcGISRuntime::Point | coordinate() const |
bool | isAngleInterpolated() const |
bool | isCoordinateInterpolated() const |
QDateTime | when() const |
bool | operator!=(Esri::ArcGISRuntime::KmlTrackElement *other) const |
bool | operator==(Esri::ArcGISRuntime::KmlTrackElement *other) const |
Detailed Description
Member Function Documentation
KmlTrackElement::KmlTrackElement (const QDateTime &when, const Esri::ArcGISRuntime::Point &coordinate, Esri::ArcGISRuntime::KmlOrientation *angle, QObject *parent = nullptr)
Creates a KmlTrackElement from a time instant, and optional coordinate and angle.
- when - The time instant at this point in the track.
- coordinate - The coordinate at this point in the track.
nullptr
values will be interpolated upon track creation. - angle - The angle at this point in the track.
nullptr
values will be interpolated upon track creation. - parent - The optional parent QObject.
[override virtual]
KmlTrackElement::~KmlTrackElement ()
Destructor.
Esri::ArcGISRuntime::KmlOrientation *KmlTrackElement::angle() const
Returns the angle at this point in the track.
nullptr
values will be interpolated upon track creation and isAngleInterpolated will be true
.
Esri::ArcGISRuntime::Point KmlTrackElement::coordinate() const
Returns the coordinate at this point in the track.
nullptr
values will be interpolated upon track creation and isCoordinateInterpolated will be true
.
bool KmlTrackElement::isAngleInterpolated () const
Returns true
if the angle was interpolated, false
if a concrete value was provided.
bool KmlTrackElement::isCoordinateInterpolated () const
Returns true
if the coordinate was interpolated, false
if a concrete value was provided.
QDateTime KmlTrackElement::when() const
Returns the time instant at this point in the track.
bool KmlTrackElement::operator!=(Esri::ArcGISRuntime::KmlTrackElement *other) const
Returns true
if this object is not equal to a second KmlTrackElement object.
- other - The second object.
bool KmlTrackElement::operator==(Esri::ArcGISRuntime::KmlTrackElement *other) const
Returns true
if this object is equal to a second KmlTrackElement object.
- other - The second object.