KmlMultiTrack Class

  • KmlMultiTrack
  • class Esri::ArcGISRuntime::KmlMultiTrack

    A KML multi-track object. More...

    Header: #include <KmlMultiTrack.h>
    Since: Esri::ArcGISRuntime 200.6
    Inherits: Esri::ArcGISRuntime::KmlGeometry

    Public Functions

    KmlMultiTrack()
    KmlMultiTrack(const QList<Esri::ArcGISRuntime::KmlTrack> &tracks, bool isInterpolated)
    KmlMultiTrack(const Esri::ArcGISRuntime::KmlMultiTrack &other)
    KmlMultiTrack(Esri::ArcGISRuntime::KmlMultiTrack &&other)
    KmlMultiTrack(const Esri::ArcGISRuntime::KmlGeometry &other)
    ~KmlMultiTrack()
    bool isInterpolated() const
    bool isValid() const
    QList<Esri::ArcGISRuntime::KmlTrack> tracks() const
    Esri::ArcGISRuntime::KmlMultiTrack &operator=(Esri::ArcGISRuntime::KmlMultiTrack &&other)
    Esri::ArcGISRuntime::KmlMultiTrack &operator=(const Esri::ArcGISRuntime::KmlMultiTrack &other)

    Detailed Description

    Note: KmlMultiTrack only supports shallow copying. All copies will reference the same internal data and there is no way to detach/clone from it.

    Member Function Documentation

    KmlMultiTrack::KmlMultiTrack()

    Default constructor.

    Note: This is provided for convenience only and will construct an unusable, empty object.

    KmlMultiTrack::KmlMultiTrack(const QList<Esri::ArcGISRuntime::KmlTrack> &tracks, bool isInterpolated)

    Creates a KmlMultiTrack from an array of KmlTrack objects and a boolean indicating whether the multi-track interpolates the time periods between tracks.

    • tracks - The tracks that make up the multi-track.
    • isInterpolated - Whether or not the multi-track interpolates the time periods between tracks. Default is false.

    KmlMultiTrack::KmlMultiTrack(const Esri::ArcGISRuntime::KmlMultiTrack &other)

    Copy constructor from other KmlMultiTrack.

    Note: Performs a shallow copy.

    KmlMultiTrack::KmlMultiTrack(Esri::ArcGISRuntime::KmlMultiTrack &&other)

    Move constructor from other KmlMultiTrack.

    [explicit] KmlMultiTrack::KmlMultiTrack(const Esri::ArcGISRuntime::KmlGeometry &other)

    Converting constructor from other KmlGeometry.

    Note: Performs a shallow copy.

    See also Downcast helper functions.

    KmlMultiTrack::~KmlMultiTrack()

    Destructor.

    bool KmlMultiTrack::isInterpolated() const

    Returns whether or not the multi-track interpolates the time periods between tracks.

    If true, semi-transparent interpolated lines draw between individual tracks. Default is false.

    bool KmlMultiTrack::isValid() const

    Gets whether this KmlMultiTrack is valid.

    A KmlMultiTrack is valid if it is not empty and objectType is KmlGeometryObjectType::MultiTrack.

    Returns true if valid.

    QList<Esri::ArcGISRuntime::KmlTrack> KmlMultiTrack::tracks() const

    Returns an array of the individual tracks making up the track.

    Esri::ArcGISRuntime::KmlMultiTrack &KmlMultiTrack::operator=(Esri::ArcGISRuntime::KmlMultiTrack &&other)

    Move operator from other KmlMultiTrack.

    Esri::ArcGISRuntime::KmlMultiTrack &KmlMultiTrack::operator=(const Esri::ArcGISRuntime::KmlMultiTrack &other)

    Assignment operator from other KmlMultiTrack.

    Note: Performs a shallow copy.

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