OrbitalElementsTryConvertTrueAnomalyToMeanAnomaly Method |
Tries to convert the true anomaly to the mean anomaly.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static bool TryConvertTrueAnomalyToMeanAnomaly(
double trueAnomaly,
double eccentricity,
out double meanAnomaly
)
Public Shared Function TryConvertTrueAnomalyToMeanAnomaly (
trueAnomaly As Double,
eccentricity As Double,
<OutAttribute> ByRef meanAnomaly As Double
) As Boolean
public:
static bool TryConvertTrueAnomalyToMeanAnomaly(
double trueAnomaly,
double eccentricity,
[OutAttribute] double% meanAnomaly
)
static member TryConvertTrueAnomalyToMeanAnomaly :
trueAnomaly : float *
eccentricity : float *
meanAnomaly : float byref -> bool
Parameters
- trueAnomaly
- Type: SystemDouble
The true anomaly to convert (radians). - eccentricity
- Type: SystemDouble
The eccentricity of the orbit. - meanAnomaly
- Type: SystemDouble
On return,
the mean anomaly.
Return Value
Type:
Boolean if
eccentricity is negative
or if
trueAnomaly is not within the valid range for the type of orbit; otherwise
.
See Also