OrbitalElementsTryComputeRadiusOfPeriapsis Method |
Tries to calculate the radius of periapsis of the orbit.
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 bool TryComputeRadiusOfPeriapsis(
double semilatusRectum,
double eccentricity,
out double radiusOfPeriapsis
)
Public Shared Function TryComputeRadiusOfPeriapsis (
semilatusRectum As Double,
eccentricity As Double,
<OutAttribute> ByRef radiusOfPeriapsis As Double
) As Boolean
public:
static bool TryComputeRadiusOfPeriapsis(
double semilatusRectum,
double eccentricity,
[OutAttribute] double% radiusOfPeriapsis
)
static member TryComputeRadiusOfPeriapsis :
semilatusRectum : float *
eccentricity : float *
radiusOfPeriapsis : float byref -> bool
Parameters
- semilatusRectum
- Type: SystemDouble
The semilatus rectum of the orbit (distance). - eccentricity
- Type: SystemDouble
The eccentricity of the orbit. - radiusOfPeriapsis
- Type: SystemDouble
On return,
the radius of periapsis of the orbit.
Return Value
Type:
Boolean if
eccentricity is negative or
semilatusRectum is negative or zero; otherwise
.
Remarks The result will be given in the same units as semilatusRectum.
See Also