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.2.419.0 (24.2.419.0)
Syntax public KeplerianElements(
double semimajorAxis,
double eccentricity,
double inclination,
double argumentOfPeriapsis,
double rightAscensionOfAscendingNode,
double trueAnomaly,
double gravitationalParameter
)
Public Sub New (
semimajorAxis As Double,
eccentricity As Double,
inclination As Double,
argumentOfPeriapsis As Double,
rightAscensionOfAscendingNode As Double,
trueAnomaly As Double,
gravitationalParameter As Double
)
public:
KeplerianElements(
double semimajorAxis,
double eccentricity,
double inclination,
double argumentOfPeriapsis,
double rightAscensionOfAscendingNode,
double trueAnomaly,
double gravitationalParameter
)
new :
semimajorAxis : float *
eccentricity : float *
inclination : float *
argumentOfPeriapsis : float *
rightAscensionOfAscendingNode : float *
trueAnomaly : float *
gravitationalParameter : float -> KeplerianElements
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 Exception | Condition |
---|
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 See Also