Skip To Content ArcGIS for Developers Sign In Dashboard

KmlGeometry Class

(Esri::ArcGISRuntime::KmlGeometry)

Contains all the KML-specific information associated with a Geometry. More...

Header: #include <KmlGeometry>
Since: Esri::ArcGISRuntime 100.4

Public Functions

KmlGeometry()
KmlGeometry(const KmlGeometry &other)
KmlGeometry(KmlGeometry &&other)
KmlGeometry(const Geometry &geometry, KmlAltitudeMode altitude)
KmlGeometry(const Geometry &geometry, KmlAltitudeMode altitude, bool isExtruded)
KmlGeometry(const Geometry &geometry, KmlAltitudeMode altitude, bool isExtruded, bool isTessellated)
~KmlGeometry()
KmlAltitudeMode altitudeMode() const
Geometry geometry() const
bool isEmpty() const
bool isExtruded() const
bool isTessellated() const
KmlGeometryType type() const
KmlGeometry &operator=(const KmlGeometry &other)
KmlGeometry &operator=(KmlGeometry &&other)

Detailed Description

Contains all the KML-specific information associated with a Geometry.

Member Function Documentation

KmlGeometry::KmlGeometry()

Default constructor.

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

KmlGeometry::KmlGeometry(const KmlGeometry &other)

Copy constructor from the other KmlGeometry.

KmlGeometry::KmlGeometry(KmlGeometry &&other)

Move constructor from the other KmlGeometry.

KmlGeometry::KmlGeometry(const Geometry &geometry, KmlAltitudeMode altitude)

Create a KmlGeometry with a runtime geometry and an altitude mode.

geometry The runtime geometry for this KML geometry. altitude The KML altitude mode.

This function was introduced in Esri::ArcGISRuntime 100.6.

KmlGeometry::KmlGeometry(const Geometry &geometry, KmlAltitudeMode altitude, bool isExtruded)

Create a KmlGeometry with a runtime geometry, an altitude mode and an extruded flag.

geometry The runtime geometry for this KML geometry. altitude The KML altitude mode. isExtruded Flag indicating if the KML geometry is extruded.

This function was introduced in Esri::ArcGISRuntime 100.6.

KmlGeometry::KmlGeometry(const Geometry &geometry, KmlAltitudeMode altitude, bool isExtruded, bool isTessellated)

Create a KmlGeometry with a runtime geometry, an altitude mode, an extruded flag and a tessellated flag.

Note: Only polyline geometries can be tessellated.

geometry The runtime geometry for this KML geometry. altitude The KML altitude mode. isExtruded Flag indicating if the KML geometry is extruded. isTessellated Flag indicating if the KML geometry is tessellated.

This function was introduced in Esri::ArcGISRuntime 100.6.

KmlGeometry::~KmlGeometry()

Destructor.

KmlAltitudeMode KmlGeometry::altitudeMode() const

Returns the KML altitude mode.

Geometry KmlGeometry::geometry() const

Returns the runtime geometry for this KML geometry.

bool KmlGeometry::isEmpty() const

Returns whether the object is empty.

Returns true if empty.

bool KmlGeometry::isExtruded() const

Returns a flag indicating if the KML geometry is extruded.

bool KmlGeometry::isTessellated() const

Returns a flag indicating if the KML geometry is tessellated.

KmlGeometryType KmlGeometry::type() const

Returns the KML geometry type.

KmlGeometry &KmlGeometry::operator=(const KmlGeometry &other)

Assignment operator from other KmlGeometry.

KmlGeometry &KmlGeometry::operator=(KmlGeometry &&other)

Move operator from other KmlGeometry.


Feedback on this topic?