distanceGeodetic static method
- required ArcGISPoint point1,
- required ArcGISPoint point2,
- LinearUnit? distanceUnit,
- AngularUnit? azimuthUnit,
- required GeodeticCurveType curveType,
Calculates the geodetic distance between two given points and calculates the azimuth at both points for the geodetic curve that connects the points.
Parameters:
point1
— A point object.point2
— Another point object.distanceUnit
— The linear unit of measure for the returned results. Assumes meters if no unit is given.azimuthUnit
— The angular unit of measure for the returned results. Assumes degrees if no unit is given.curveType
— The type of curve to calculate.
Return Value: A structure containing the distance and the azimuth at both points for the geodetic curve that connects them.