OrbitalElements.TryConvertMeanAnomalyToTrueAnomaly Method |
Tries to convert the mean anomaly to the true 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 bool TryConvertMeanAnomalyToTrueAnomaly(
double meanAnomaly,
double eccentricity,
out double trueAnomaly
)
Public Shared Function TryConvertMeanAnomalyToTrueAnomaly (
meanAnomaly As Double,
eccentricity As Double,
<OutAttribute> ByRef trueAnomaly As Double
) As Boolean
public:
static bool TryConvertMeanAnomalyToTrueAnomaly(
double meanAnomaly,
double eccentricity,
[OutAttribute] double% trueAnomaly
)
static member TryConvertMeanAnomalyToTrueAnomaly :
meanAnomaly : float *
eccentricity : float *
trueAnomaly : float byref -> bool
Parameters
- meanAnomaly
- Type: System.Double
The mean anomaly to convert (radians). - eccentricity
- Type: System.Double
The eccentricity of the orbit. - trueAnomaly
- Type: System.Double
On return,
the true anomaly.
Return Value
Type:
Booleanfalse if
eccentricity is negative
or the iterative solution to Kepler's equation did not converge for elliptic or hyperbolic orbits; otherwise
true.
See Also