KmlTrackElement Class

  • KmlTrackElement
  • class Esri::ArcGISRuntime::KmlTrackElement

    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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close