EquinoctialElements Constructor (Double, Double, Double, Double, Double, Double, Boolean, Double) |
Initialize a set of equinoctial elements.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public EquinoctialElements(
double semimajorAxis,
double eccentricitySineLongitudeOfPeriapsis,
double eccentricityCosineLongitudeOfPeriapsis,
double inclinationAndRightAscensionSineParameter,
double inclinationAndRightAscensionCosineParameter,
double meanLongitude,
bool isPosigrade,
double gravitationalParameter
)
Public Sub New (
semimajorAxis As Double,
eccentricitySineLongitudeOfPeriapsis As Double,
eccentricityCosineLongitudeOfPeriapsis As Double,
inclinationAndRightAscensionSineParameter As Double,
inclinationAndRightAscensionCosineParameter As Double,
meanLongitude As Double,
isPosigrade As Boolean,
gravitationalParameter As Double
)
public:
EquinoctialElements(
double semimajorAxis,
double eccentricitySineLongitudeOfPeriapsis,
double eccentricityCosineLongitudeOfPeriapsis,
double inclinationAndRightAscensionSineParameter,
double inclinationAndRightAscensionCosineParameter,
double meanLongitude,
bool isPosigrade,
double gravitationalParameter
)
new :
semimajorAxis : float *
eccentricitySineLongitudeOfPeriapsis : float *
eccentricityCosineLongitudeOfPeriapsis : float *
inclinationAndRightAscensionSineParameter : float *
inclinationAndRightAscensionCosineParameter : float *
meanLongitude : float *
isPosigrade : bool *
gravitationalParameter : float -> EquinoctialElements
Parameters
- semimajorAxis
- Type: SystemDouble
The semimajor axis (distance). - eccentricitySineLongitudeOfPeriapsis
- Type: SystemDouble
Eccentricity * Sin(Argument Of Periapsis + Direction * Right Ascension Of Ascending Node) - eccentricityCosineLongitudeOfPeriapsis
- Type: SystemDouble
Eccentricity * Cos(Argument Of Periapsis + Direction * Right Ascension Of Ascending Node) - inclinationAndRightAscensionSineParameter
- Type: SystemDouble
Sin(Inclination) * Sin(Right Ascension Of Ascending Node) / (1 + Cos(Inclination) ) - inclinationAndRightAscensionCosineParameter
- Type: SystemDouble
Sin(Inclination) * Cos(Right Ascension Of Ascending Node) / (1 + Cos(Inclination) ) - meanLongitude
- Type: SystemDouble
Mean Anomaly + Argument Of Periapsis + Direction * Right Ascension Of Ascending Node (radians) - isPosigrade
- Type: SystemBoolean
Boolean indicating whether this orbit is posigrade (true) or retrograde (false). - gravitationalParameter
- Type: SystemDouble
Gravitational parameter associated with these elements (distance cubed per time squared).
Exceptions Exception | Condition |
---|
InvalidOperationException | Thrown if the orbit represented by these elements does not constitute a
closed orbit (eccentricity must be between zero and unity). |
See Also