Ellipsoid.ComputeApproximateHeight 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: 25.1.421.0 (25.1.421.0)
Syntaxpublic 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.Coordinates.Cartesian
The position in the fixed frame of the shape.
Return Value
Type:
DoubleThe approximate height above the surface.
RemarksIn 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