OrbitalElementsComputeEccentricity Method |
Calculates the eccentricity of the orbit.
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 ComputeEccentricity(
double radiusOfPeriapsis,
double inverseSemimajorAxis
)
Public Shared Function ComputeEccentricity (
radiusOfPeriapsis As Double,
inverseSemimajorAxis As Double
) As Double
public:
static double ComputeEccentricity(
double radiusOfPeriapsis,
double inverseSemimajorAxis
)
static member ComputeEccentricity :
radiusOfPeriapsis : float *
inverseSemimajorAxis : float -> float
Parameters
- radiusOfPeriapsis
- Type: SystemDouble
The radius of periapsis. - inverseSemimajorAxis
- Type: SystemDouble
The inverse of the semimajor axis.
Return Value
Type:
DoubleThe eccentricity of the orbit.
Exceptions Remarks radiusOfPeriapsis and inverseSemimajorAxis must have consistent units.
See Also