EllipsoidGrazingAltitude Method (Cartesian, Cartesian) |
Provides the nearest distance between the ellipsoid and the line segment
between the initial and final points.
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 double GrazingAltitude(
Cartesian initial,
Cartesian final
)
Public Function GrazingAltitude (
initial As Cartesian,
final As Cartesian
) As Double
public:
double GrazingAltitude(
Cartesian initial,
Cartesian final
)
member GrazingAltitude :
initial : Cartesian *
final : Cartesian -> float
Parameters
- initial
- Type: AGI.Foundation.CoordinatesCartesian
The initial point of the line segment. - final
- Type: AGI.Foundation.CoordinatesCartesian
The final point of the line segment.
Return Value
Type:
DoubleThe 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