Click or drag to resize

ModifiedKeplerianElements Constructor (Cartesian, Cartesian, Double)

Initializes a new instance from the specified Cartesian position, Cartesian velocity, and gravitational parameter.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.2.404.0 (20.2.404.0)
Syntax
public ModifiedKeplerianElements(
	Cartesian position,
	Cartesian velocity,
	double gravitationalParameter
)

Parameters

position
Type: AGI.Foundation.CoordinatesCartesian
The cartesian position (distance).
velocity
Type: AGI.Foundation.CoordinatesCartesian
The cartesian velocity (distance per time).
gravitationalParameter
Type: SystemDouble
The gravitational parameter for the central body (distance cubed per time squared).
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when the magnitude of position is nearly zero (less than 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