EllipsoidGrazingAltitude Method (Cartographic, UnitCartesian)
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.
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.3.405.0 (20.3.405.0)
public double GrazingAltitude(
Public Function GrazingAltitude (
location As Cartographic,
direction As UnitCartesian
) As Double
member GrazingAltitude :
location : Cartographic *
direction : UnitCartesian -> float
- Type: AGI.Foundation.CoordinatesCartographic
The planetodetic position exterior to the ellipsoid.
- Type: AGI.Foundation.CoordinatesUnitCartesian
The reference direction.
The nearest distance.
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.