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