OrbitalElementsConvertHyperbolicAnomalyToMeanAnomaly Method |
Converts the hyperbolic 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 double ConvertHyperbolicAnomalyToMeanAnomaly(
double hyperbolicAnomaly,
double eccentricity
)
Public Shared Function ConvertHyperbolicAnomalyToMeanAnomaly (
hyperbolicAnomaly As Double,
eccentricity As Double
) As Double
public:
static double ConvertHyperbolicAnomalyToMeanAnomaly(
double hyperbolicAnomaly,
double eccentricity
)
static member ConvertHyperbolicAnomalyToMeanAnomaly :
hyperbolicAnomaly : float *
eccentricity : float -> float
Parameters
- hyperbolicAnomaly
- Type: SystemDouble
The hyperbolic 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 less than or equal to one (indicating that the orbit is not hyperbolic), or if it is negative. |
See Also