Click or drag to resize

KeplerianElements Constructor (Double, Double, Double, Double, Double, Double, Double)

Initialize a set of classical Keplerian orbital elements. The given elements must represent a closed orbit. For other orbit types, use ModifiedKeplerianElements.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public KeplerianElements(
	double semimajorAxis,
	double eccentricity,
	double inclination,
	double argumentOfPeriapsis,
	double rightAscensionOfAscendingNode,
	double trueAnomaly,
	double gravitationalParameter
)

Parameters

semimajorAxis
Type: SystemDouble
Semimajor axis (distance).
eccentricity
Type: SystemDouble
Eccentricity.
inclination
Type: SystemDouble
Inclination (radians).
argumentOfPeriapsis
Type: SystemDouble
Argument of periapsis (radians).
rightAscensionOfAscendingNode
Type: SystemDouble
Right ascension of the ascending node (radians).
trueAnomaly
Type: SystemDouble
True anomaly (radians).
gravitationalParameter
Type: SystemDouble
Gravitational parameter (distance cubed per time squared).
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when eccentricity is negative, not below unity, or when semimajorAxis is not finitely positive, or when semimajorAxis is less than Epsilon8, or when inclination is less than zero or greater than π.
Remarks
The classification of the OrbitType is exact so that if the user wants this instance of KeplerianElements to be classified as a Circular orbit, the eccentricity must be exactly zero. For parabolic or hyperbolic orbits, see ModifiedKeplerianElements.
See Also