OrbitalElements.ComputeRadiusOfApoapsis Method |
Calculates the radius of apoapsis of the orbit.
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 ComputeRadiusOfApoapsis(
double radiusOfPeriapsis,
double eccentricity
)
Public Shared Function ComputeRadiusOfApoapsis (
radiusOfPeriapsis As Double,
eccentricity As Double
) As Double
public:
static double ComputeRadiusOfApoapsis(
double radiusOfPeriapsis,
double eccentricity
)
static member ComputeRadiusOfApoapsis :
radiusOfPeriapsis : float *
eccentricity : float -> float
Parameters
- radiusOfPeriapsis
- Type: System.Double
The radius of periapsis of the orbit (distance). - eccentricity
- Type: System.Double
The eccentricity of the orbit.
Return Value
Type:
DoubleThe radius of apoapsis of the orbit.
Exceptions
RemarksThe result will be given in the same units as radiusOfPeriapsis.
See Also