Click or drag to resize

ModifiedKeplerianElements Constructor (MotionCartesian, Double)

Initializes a new instance from the specified cartesian motion and gravitational constant.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 18.4.397.0 (18.4.397.0)
Syntax
public ModifiedKeplerianElements(
	Motion<Cartesian> motion,
	double gravitationalParameter
)

Parameters

motion
Type: AGI.FoundationMotionCartesian
The cartesian position and velocity (distance and distance per time).
gravitationalParameter
Type: SystemDouble
The gravitational parameter for the central body (distance cubed per time squared).
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the position is nearly zero (< Epsilon8).
Remarks
If the orbit eccentricity turns out to be less than Epsilon12, the argument of periapsis will be aligned with the ascending node (the value is set to zero).
See Also