GeodeticDistanceResult Class

  • GeodeticDistanceResult
  • class Esri::ArcGISRuntime::GeodeticDistanceResult

    The returned results of calling GeometryEngine::distanceGeodetic(const Esri::ArcGISRuntime::Point&, const Esri::ArcGISRuntime::Point&, const Esri::ArcGISRuntime::LinearUnit&, const Esri::ArcGISRuntime::AngularUnit&, Esri::ArcGISRuntime::GeodeticCurveType). More...

    Header: #include <GeodeticDistanceResult.h>
    Since: Esri::ArcGISRuntime 100.0

    Public Functions

    GeodeticDistanceResult()
    GeodeticDistanceResult(const Esri::ArcGISRuntime::GeodeticDistanceResult &other)
    GeodeticDistanceResult(Esri::ArcGISRuntime::GeodeticDistanceResult &&other)
    ~GeodeticDistanceResult()
    double azimuth1() const
    double azimuth2() const
    Esri::ArcGISRuntime::AngularUnit azimuthUnit() const
    double distance() const
    Esri::ArcGISRuntime::LinearUnit distanceUnit() const
    bool isEmpty() const
    Esri::ArcGISRuntime::GeodeticDistanceResult &operator=(const Esri::ArcGISRuntime::GeodeticDistanceResult &other)
    Esri::ArcGISRuntime::GeodeticDistanceResult &operator=(Esri::ArcGISRuntime::GeodeticDistanceResult &&other)

    Detailed Description

    Instances of this class represent results of the geodetic distance search using GeometryEngine.

    GeodeticDistanceResult contains:

    • The distance between points.
    • The azimuth point1 towards point2 (clockwise angle between tangent vector at point1 in the direction of the curve towards point2 and meridian passing through point1).
    • The azimuth point2 towards point1

    Azimuths are expressed as a clockwise angle between the meridian passing through the point and the tangent vector at the point in the direction of the curve towards the other point.

    Member Function Documentation

    GeodeticDistanceResult::GeodeticDistanceResult()

    Default constructor.

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

    Copy constructor from other GeodeticDistanceResult.

    GeodeticDistanceResult::GeodeticDistanceResult(Esri::ArcGISRuntime::GeodeticDistanceResult &&other)

    Move constructor from other GeodeticDistanceResult.

    GeodeticDistanceResult::~GeodeticDistanceResult()

    Destructor.

    double GeodeticDistanceResult::azimuth1() const

    Returns the output azimuth at point 1 towards point 2, in the angular unit that was used as a parameter when calling GeometryEngine::distanceGeodetic(const Esri::ArcGISRuntime::Point&, const Esri::ArcGISRuntime::Point&, const Esri::ArcGISRuntime::LinearUnit&, const Esri::ArcGISRuntime::AngularUnit&, Esri::ArcGISRuntime::GeodeticCurveType).

    This is the clockwise angle between tangent vector at point1 in the direction of the curve towards point2 and meridian passing through the point1.

    double GeodeticDistanceResult::azimuth2() const

    Returns the output azimuth at point 2 towards point 1, in the angular unit that was used as a parameter when calling GeometryEngine::distanceGeodetic(const Esri::ArcGISRuntime::Point&, const Esri::ArcGISRuntime::Point&, const Esri::ArcGISRuntime::LinearUnit&, const Esri::ArcGISRuntime::AngularUnit&, Esri::ArcGISRuntime::GeodeticCurveType).

    This is the clockwise angle between tangent vector at point2 in the direction of the curve towards point2 and meridian passing through the point2.

    Esri::ArcGISRuntime::AngularUnit GeodeticDistanceResult::azimuthUnit() const

    Returns the AngularUnit of measurement for azimuth1 and azimuth2.

    double GeodeticDistanceResult::distance() const

    Returns the geodetic distance from the two input points, in the linear unit used as a parameter when calling GeometryEngine::distanceGeodetic(const Esri::ArcGISRuntime::Point&, const Esri::ArcGISRuntime::Point&, const Esri::ArcGISRuntime::LinearUnit&, const Esri::ArcGISRuntime::AngularUnit&, Esri::ArcGISRuntime::GeodeticCurveType).

    Esri::ArcGISRuntime::LinearUnit GeodeticDistanceResult::distanceUnit() const

    Returns the unit of measure for distance.

    bool GeodeticDistanceResult::isEmpty() const

    Returns whether the result is empty.

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

    Assignment operator from other GeodeticDistanceResult.

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

    Move operator from other GeodeticDistanceResult.

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