EllipsoidGrazingAltitudeLocation Method (Cartographic, UnitCartesian) |
Provides the point on the line segment from the provided location 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 location.
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.3.420.0 (24.3.420.0)
Syntax public Cartographic GrazingAltitudeLocation(
Cartographic location,
UnitCartesian direction
)
Public Function GrazingAltitudeLocation (
location As Cartographic,
direction As UnitCartesian
) As Cartographic
public:
Cartographic GrazingAltitudeLocation(
Cartographic location,
UnitCartesian direction
)
member GrazingAltitudeLocation :
location : Cartographic *
direction : UnitCartesian -> Cartographic
Parameters
- location
- Type: AGI.Foundation.CoordinatesCartographic
The planetodetic position exterior to the ellipsoid. - direction
- Type: AGI.Foundation.CoordinatesUnitCartesian
The reference direction.
Return Value
Type:
CartographicThe 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