Click or drag to resize

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: 19.1.398.0 (19.1.398.0)
Syntax
public static bool TryComputeRadiusOfPeriapsis(
	double semilatusRectum,
	double eccentricity,
	out double radiusOfPeriapsis
)

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 the eccentricity is negative or semilatusRectum is negative or zero, otherwise .
Remarks
The result will be given in the same units as semilatusRectum.
See Also