Click or drag to resize

EllipsoidGrazingAltitudeLocation Method (Cartographic, Cartographic)

Provides the point on the line segment between the initial and final points which is nearest to the ellipsoid. The line segment is considered to be finite in length. This means that possibly closer points which are not between the initial and final points 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 Cartographic GrazingAltitudeLocation(
	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: Cartographic
The nearest planetodetic point on the line segment.
Remarks
If the line segment passes through the ellipsoid then the height of the returned Cartographic will be a negative value representing the maximum depth required to reach the surface.
See Also