EllipsoidComputeApproximateHeight Method |
Compute an approximate value of the height above the surface.
Namespace:
AGI.Foundation.Geometry.Shapes
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public double ComputeApproximateHeight(
Cartesian position
)
Public Function ComputeApproximateHeight (
position As Cartesian
) As Double
public:
double ComputeApproximateHeight(
Cartesian position
)
member ComputeApproximateHeight :
position : Cartesian -> float
Parameters
- position
- Type: AGI.Foundation.CoordinatesCartesian
The position in the fixed frame of the shape.
Return Value
Type:
DoubleThe approximate height above the surface.
Remarks In general, for Oblate Spheroids, this will be faster than calling
CartesianToCartographic(Cartesian)
while providing a height which is still extremely close to the true value.
See Also