KmlOrientation Class

  • KmlOrientation
  • class Esri::ArcGISRuntime::KmlOrientation

    A KML orientation object. More...

    Header: #include <KmlOrientation.h>
    Since: Esri::ArcGISRuntime 200.6
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    KmlOrientation(double heading, double tilt, double roll, QObject *parent = nullptr)
    virtual ~KmlOrientation() override
    double heading() const
    double roll() const
    double tilt() const
    bool operator!=(Esri::ArcGISRuntime::KmlOrientation *other) const
    bool operator==(Esri::ArcGISRuntime::KmlOrientation *other) const

    Detailed Description

    Specifies values that define an orientation.

    Member Function Documentation

    KmlOrientation::KmlOrientation(double heading, double tilt, double roll, QObject *parent = nullptr)

    Creates an orientation with the specified heading, tilt, and roll values.

    • heading - The heading.
    • tilt - The tilt.
    • roll - The roll.
    • parent - The optional parent QObject.

    Values are normalized in the range of 0 to 360 (inclusive). For more information on how heading, tilt, and roll relate to the coordinate system, see the documentation for KML models.

    [override virtual] KmlOrientation::~KmlOrientation()

    Destructor.

    double KmlOrientation::heading() const

    Returns the heading in degrees.

    Values range from 0 to 360 degrees. The default value is 0.

    double KmlOrientation::roll() const

    Returns the roll in degrees.

    Values range from 0 to 360 degrees. The default value is 0.

    double KmlOrientation::tilt() const

    Returns the tilt in degrees.

    Values range from 0 to 360 degrees. The default value is 0.

    bool KmlOrientation::operator!=(Esri::ArcGISRuntime::KmlOrientation *other) const

    Returns true if this object is not equal to a second KmlOrientation object.

    • other - The second object.

    bool KmlOrientation::operator==(Esri::ArcGISRuntime::KmlOrientation *other) const

    Returns true if this object is equal to a second KmlOrientation 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.