OrbitalElementsTryComputeMeanMotion Method |
Tries to calculate the mean motion 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 bool TryComputeMeanMotion(
double radiusOfPeriapsis,
double eccentricity,
double gravitationalParameter,
out double meanMotion
)
Public Shared Function TryComputeMeanMotion (
radiusOfPeriapsis As Double,
eccentricity As Double,
gravitationalParameter As Double,
<OutAttribute> ByRef meanMotion As Double
) As Boolean
public:
static bool TryComputeMeanMotion(
double radiusOfPeriapsis,
double eccentricity,
double gravitationalParameter,
[OutAttribute] double% meanMotion
)
static member TryComputeMeanMotion :
radiusOfPeriapsis : float *
eccentricity : float *
gravitationalParameter : float *
meanMotion : float byref -> bool
Parameters
- radiusOfPeriapsis
- Type: SystemDouble
The radius of periapsis. - eccentricity
- Type: SystemDouble
The eccentricity of the orbit. - gravitationalParameter
- Type: SystemDouble
The gravitational parameter. - meanMotion
- Type: SystemDouble
On return,
the mean motion of the orbit.
Return Value
Type:
Boolean if
eccentricity is negative or
radiusOfPeriapsis or
gravitationalParameter is negative or zero; otherwise
.
See Also