OrbitalElementsConvertTrueAnomalyToHyperbolicAnomaly Method |
Converts the true anomaly to the hyperbolic anomaly.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static double ConvertTrueAnomalyToHyperbolicAnomaly(
double trueAnomaly,
double eccentricity
)
Public Shared Function ConvertTrueAnomalyToHyperbolicAnomaly (
trueAnomaly As Double,
eccentricity As Double
) As Double
public:
static double ConvertTrueAnomalyToHyperbolicAnomaly(
double trueAnomaly,
double eccentricity
)
static member ConvertTrueAnomalyToHyperbolicAnomaly :
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 hyperbolic 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, or trueAnomaly is outside the bounds of the asymptotes of the hyperbola. |
See Also