Click or drag to resize

OrbitalElementsComputeSemilatusRectum Method

Calculates the semilatus rectum of the orbit.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public static double ComputeSemilatusRectum(
	double radiusOfPeriapsis,
	double eccentricity
)

Parameters

radiusOfPeriapsis
Type: SystemDouble
The radius of periapsis.
eccentricity
Type: SystemDouble
The eccentricity of the orbit.

Return Value

Type: Double
The semilatus rectum of the orbit.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the eccentricity is negative or radiusOfPeriapsis is negative or zero.
Remarks
The result will be given in the same units as radiusOfPeriapsis.
See Also