Click or drag to resize

EllipsoidGrazingAltitudeLocation Method (Cartesian, UnitCartesian)

Provides the point on the line segment from the provided position and along the indicated direction which is nearest to the ellipsoid. The line segment is considered to be infinite in length but starting at the provided position. This means that possibly closer points in the opposite direction are not reported.

Namespace:  AGI.Foundation.Geometry.Shapes
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
public Cartographic GrazingAltitudeLocation(
	Cartesian position,
	UnitCartesian direction


Type: AGI.Foundation.CoordinatesCartesian
The position exterior to the ellipsoid.
Type: AGI.Foundation.CoordinatesUnitCartesian
The reference direction.

Return Value

Type: Cartographic
The nearest planetodetic point on the line segment.
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