A result of the GeometryEngine::distanceGeodetic method. More...
Header: | #include <GeodeticDistanceResult.h> |
Since: | Esri::ArcGISRuntime 100.0 |
This class was introduced in Esri::ArcGISRuntime 100.0.
Public Functions
GeodeticDistanceResult(Esri::ArcGISRuntime::GeodeticDistanceResult &&other) | |
GeodeticDistanceResult(const Esri::ArcGISRuntime::GeodeticDistanceResult &other) | |
GeodeticDistanceResult() | |
Esri::ArcGISRuntime::GeodeticDistanceResult & | operator=(Esri::ArcGISRuntime::GeodeticDistanceResult &&other) |
Esri::ArcGISRuntime::GeodeticDistanceResult & | operator=(const 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 |
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 (Esri::ArcGISRuntime::GeodeticDistanceResult &&other)
Move constructor from other GeodeticDistanceResult.
GeodeticDistanceResult::GeodeticDistanceResult (const Esri::ArcGISRuntime::GeodeticDistanceResult &other)
Copy constructor from other GeodeticDistanceResult.
GeodeticDistanceResult::GeodeticDistanceResult ()
Default constructor.
Esri::ArcGISRuntime::GeodeticDistanceResult &GeodeticDistanceResult::operator=(Esri::ArcGISRuntime::GeodeticDistanceResult &&other)
Move operator from other GeodeticDistanceResult.
Esri::ArcGISRuntime::GeodeticDistanceResult &GeodeticDistanceResult::operator=(const Esri::ArcGISRuntime::GeodeticDistanceResult &other)
Assignment operator from other GeodeticDistanceResult.
GeodeticDistanceResult::~GeodeticDistanceResult ()
Destructor.
double GeodeticDistanceResult::azimuth1() const
Returns azimuth at point1 towards point2, expressed in the units in the property angularUnit.
double GeodeticDistanceResult::azimuth2() const
Returns azimuth at point2 towards point1, expressed in the units in the property angularUnit.
Esri::ArcGISRuntime::AngularUnit GeodeticDistanceResult::azimuthUnit () const
Returns the AngularUnit of measurement for azimuth1 and azimuth2.
double GeodeticDistanceResult::distance() const
Returns the geodetic distance between the two points, expressed in the units in the property linearUnit.
Esri::ArcGISRuntime::LinearUnit GeodeticDistanceResult::distanceUnit () const
Returns the linear unit of measurement used for distance.
bool GeodeticDistanceResult::isEmpty () const
Returns whether the result is empty.