OrbitalElements.ConvertTrueAnomalyToMeanAnomaly Method |
Converts the true anomaly to the mean anomaly.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static double ConvertTrueAnomalyToMeanAnomaly(
double trueAnomaly,
double eccentricity
)
Public Shared Function ConvertTrueAnomalyToMeanAnomaly (
trueAnomaly As Double,
eccentricity As Double
) As Double
public:
static double ConvertTrueAnomalyToMeanAnomaly(
double trueAnomaly,
double eccentricity
)
static member ConvertTrueAnomalyToMeanAnomaly :
trueAnomaly : float *
eccentricity : float -> float
Parameters
- trueAnomaly
- Type: System.Double
The true anomaly to convert (radians). - eccentricity
- Type: System.Double
The eccentricity of the orbit.
Return Value
Type:
DoubleThe mean anomaly.
ExceptionsException | Condition |
---|
ArgumentOutOfRangeException | Thrown if eccentricity is negative
or if trueAnomaly is not within the valid range for the type of orbit. |
See Also