Click or drag to resize

ModifiedKeplerianElements Constructor (MotionCartesian, Double, Double, Double)

Initializes a new instance from the specified Cartesian motion and gravitational parameter.

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

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).
eccentricityTolerance
Type: SystemDouble
The tolerance which defines the value of 'zero' to use when checking whether the eccentricity is zero, below which the orbit is circular.
inclinationTolerance
Type: SystemDouble
The tolerance which defines the value of 'zero' to use when checking whether the inclination is zero, below which the orbit is equatorial.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when either eccentricityTolerance or inclinationTolerance is negative.
See Also