Click or drag to resize

OrbitalElementsComputeRadiusOfPeriapsis Method

Calculates 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 double ComputeRadiusOfPeriapsis(
	double semilatusRectum,
	double eccentricity
)

Parameters

semilatusRectum
Type: SystemDouble
The semilatus rectum of the orbit (distance).
eccentricity
Type: SystemDouble
The eccentricity of the orbit.

Return Value

Type: Double
The radius of periapsis of the orbit.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown when eccentricity is negative or semilatusRectum is negative or zero.
Remarks
The result will be given in the same units as semilatusRectum.
See Also