Click or drag to resize

Ellipsoid.CartesianToCartographic Method (Motion<Cartesian>, Int32)

Converts the motion given in terms of cartesian coordinates to motion in cartographic coordinates.

Namespace:  AGI.Foundation.Geometry.Shapes
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public Motion<Cartographic> CartesianToCartographic(
	Motion<Cartesian> cartesianMotion,
	int order
)

Parameters

cartesianMotion
Type: AGI.Foundation.Motion<Cartesian>
The cartesian motion to convert.
order
Type: System.Int32
The order of the highest derivative to convert. To convert just the position, pass 0 for this value. To convert velocity as well, pass 1.

Return Value

Type: Motion<Cartographic>
The cartographic equivalent of the specified cartesian motion.
Exceptions
ExceptionCondition
ArgumentException Thrown when the Motion<Cartesian>.Value is near the center of the ellipsoid. Use the IsAtCenter(Cartesian) member to test any such points if they will exist in the domain of the calling function.
Remarks
The cartesian position and velocity must be in a fixed reference frame centered on the center of mass of this ellipsoid.
See Also