Click or drag to resize

EllipsoidGrazingAltitude Method (Cartographic, Cartographic)

Provides the nearest distance between the ellipsoid and the line segment from the provided location and along the indicated direction. The line segment is considered to be infinite in length but starting at the provided location. This means that possibly smaller grazing altitudes along the opposite direction are not reported.

Namespace:  AGI.Foundation.Geometry.Shapes
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public double GrazingAltitude(
	Cartographic initial,
	Cartographic final
)

Parameters

initial
Type: AGI.Foundation.CoordinatesCartographic
The initial planetodetic point of the line segment.
final
Type: AGI.Foundation.CoordinatesCartographic
The final planetodetic point of the line segment.

Return Value

Type: Double
The nearest distance.
Remarks
If the line segment passes through the ellipsoid then the altitude will be a negative value representing the maximum depth required to reach the surface.
See Also