KmlGeometry Class

Geometry."> KmlGeometry Class | ArcGISQtCpp
  • KmlGeometry
  • class Esri::ArcGISRuntime::KmlGeometry

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

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

    Public Functions

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

    Detailed Description

    Member Function Documentation

    KmlGeometry::KmlGeometry()

    Default constructor.

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

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

    Copy constructor from the other KmlGeometry.

    KmlGeometry::KmlGeometry(Esri::ArcGISRuntime::KmlGeometry &&other)

    Move constructor from the other KmlGeometry.

    [since Esri::ArcGISRuntime 100.6] KmlGeometry::KmlGeometry(const Esri::ArcGISRuntime::Geometry &geometry, Esri::ArcGISRuntime::KmlAltitudeMode altitude)

    Creates a {Esri::ArcGISRuntime::KMLGeometry}{KMLGeometry} from a Geometry using a specific altitude mode.

    geometry The Geometry used for creating the new KML geometry. altitude The KML altitude mode. Determines how altitude values should be interpreted.

    This function was introduced in Esri::ArcGISRuntime 100.6.

    [since Esri::ArcGISRuntime 100.6] KmlGeometry::KmlGeometry(const Esri::ArcGISRuntime::Geometry &geometry, Esri::ArcGISRuntime::KmlAltitudeMode altitude, bool isExtruded)

    Creates a KmlGeometry from a Geometry using a specific altitude mode and an extruded flag.

    geometry - The Geometry used to create a new KML geometry. altitude - The KML altitude mode. Determines how altitude values should be interpreted. isExtruded - true if the geometry is extruded, false otherwise.

    This function was introduced in Esri::ArcGISRuntime 100.6.

    [since Esri::ArcGISRuntime 100.6] KmlGeometry::KmlGeometry(const Esri::ArcGISRuntime::Geometry &geometry, Esri::ArcGISRuntime::KmlAltitudeMode altitude, bool isExtruded, bool isTessellated)

    Creates a KMLGeometry from a Geometry using a specific altitude mode, extruded flag, and a tessellated flag.

    Note: Only polyline geometries can be tessellated.

    geometry - The Geometry used to create a new KML geometry. altitude - The KML altitude mode. Determines how altitude values should be interpreted. isExtruded - true if the geometry is extruded, false otherwise. isTessellated - true if the geometry is tessellated, false otherwise.

    This function was introduced in Esri::ArcGISRuntime 100.6.

    KmlGeometry::~KmlGeometry()

    Destructor.

    Esri::ArcGISRuntime::KmlAltitudeMode KmlGeometry::altitudeMode() const

    Returns the KML altitude mode.

    Esri::ArcGISRuntime::Geometry KmlGeometry::geometry() const

    Returns the Geometry contained within the 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.

    Esri::ArcGISRuntime::KmlGeometryType KmlGeometry::type() const

    Returns the KML geometry type.

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

    Assignment operator from other KmlGeometry.

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

    Move operator from other KmlGeometry.

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