OrbitalElementsConvertTrueAnomalyToEccentricAnomaly Method |
Converts the true anomaly to the eccentric 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 double ConvertTrueAnomalyToEccentricAnomaly(
double trueAnomaly,
double eccentricity
)
Public Shared Function ConvertTrueAnomalyToEccentricAnomaly (
trueAnomaly As Double,
eccentricity As Double
) As Double
public:
static double ConvertTrueAnomalyToEccentricAnomaly(
double trueAnomaly,
double eccentricity
)
static member ConvertTrueAnomalyToEccentricAnomaly :
trueAnomaly : float *
eccentricity : float -> float
Parameters
- trueAnomaly
- Type: SystemDouble
The true anomaly to convert (radians). - eccentricity
- Type: SystemDouble
The eccentricity of the orbit.
Return Value
Type:
DoubleThe eccentric anomaly.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | Thrown when eccentricity is greater than or equal to one (indicating that the orbit is not closed), or if it is negative. |
See Also