OrbitalElementsConvertParabolicAnomalyToMeanAnomaly Method |
Converts the parabolic anomaly to the mean anomaly.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static double ConvertParabolicAnomalyToMeanAnomaly(
double parabolicAnomaly,
double eccentricity
)
Public Shared Function ConvertParabolicAnomalyToMeanAnomaly (
parabolicAnomaly As Double,
eccentricity As Double
) As Double
public:
static double ConvertParabolicAnomalyToMeanAnomaly(
double parabolicAnomaly,
double eccentricity
)
static member ConvertParabolicAnomalyToMeanAnomaly :
parabolicAnomaly : float *
eccentricity : float -> float
Parameters
- parabolicAnomaly
- Type: SystemDouble
The parabolic anomaly to convert (radians). - eccentricity
- Type: SystemDouble
The eccentricity of the orbit.
Return Value
Type:
DoubleThe mean anomaly.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | Thrown when eccentricity is not equal to one (indicating that the orbit is not parabolic), or if it is negative. |
See Also