Click or drag to resize

EllipsoidSurfaceDistance Method

Computes the shortest distance as measured on the surface of the ellipsoid between two planetodetic cartographic positions.

Namespace:  AGI.Foundation.Geometry.Shapes
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public double SurfaceDistance(
	Cartographic first,
	Cartographic second
)

Parameters

first
Type: AGI.Foundation.CoordinatesCartographic
The initial planetodetic cartographic position.
second
Type: AGI.Foundation.CoordinatesCartographic
The final planetodetic cartographic position.

Return Value

Type: Double
The surface distance.
Exceptions
ExceptionCondition
UnsupportedCaseException The scalene case of a geodesic ellipsoid is not currently modeled and will be in a future release.
Remarks
Since the distance is measured on the surface of the ellipsoid, the height coordinate information is ignored.
See Also