Click or drag to resize

EllipsoidCartesianToCartographic Method (MotionCartesian, 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: 24.3.420.0 (24.3.420.0)
Syntax
public Motion<Cartographic> CartesianToCartographic(
	Motion<Cartesian> cartesianMotion,
	int order
)

Parameters

cartesianMotion
Type: AGI.FoundationMotionCartesian
The cartesian motion to convert.
order
Type: SystemInt32
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: MotionCartographic
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