A KML multi-track object. More...
Header | #include <Kml |
Since | Esri |
Inherits | Esri |
Public Functions
Kml | |
Kml | |
Kml | |
Kml | |
Kml | |
~ | |
bool | is |
bool | is |
Q | tracks() const |
Esri | operator=( |
Esri | operator=(const Esri |
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.
[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 (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.
[noexcept]
KmlMultiTrack::KmlMultiTrack (Esri::ArcGISRuntime::KmlMultiTrack &&other)
Move constructor from other KmlMultiTrack.
[noexcept]
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.
[noexcept]
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.