double GeodeticDistanceAndAzimuth( MapPoint point1, MapPoint point2, GeodeticCurveType curveType, LinearUnit distanceUnit, out double azimuth12, out double azimuth21 )
Overloads Function GeodeticDistanceAndAzimuth( _ ByVal point1 As MapPoint, _ ByVal point2 As MapPoint, _ ByVal curveType As GeodeticCurveType, _ ByVal distanceUnit As LinearUnit, _ ByRef azimuth12 As Double, _ ByRef azimuth21 As Double _ ) As Double
Parameters
- point1
- The first input point. Cannot be null.
- point2
- The second input point. Cannot be null.
- curveType
- The geodetic curve type.
- distanceUnit
- The units of the output distance. If null, then the distance is in meters.
- azimuth12
- The azimuth from point1 to point2 in radians.
- azimuth21
- The azimuth from point2 to point1 in radians.
Return Value
Geodetic distance between the two points in distanceUnit. If distanceUnit is null, then the geodetic distance is in meters.