Click or drag to resize

OrbitalElementsTryComputePeriod Method

Tries to calculate the period of the orbit.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static bool TryComputePeriod(
	double inverseSemimajorAxis,
	double gravitationalParameter,
	out double period
)

Parameters

inverseSemimajorAxis
Type: SystemDouble
The inverse of the semimajor axis (distance).
gravitationalParameter
Type: SystemDouble
The gravitational parameter (distance cubed per time squared).
period
Type: SystemDouble
On return, the period of the orbit.

Return Value

Type: Boolean
if gravitationalParameter is negative or zero; otherwise .
Remarks
inverseSemimajorAxis and gravitationalParameter must have consistent units and the units of the resulting period will correspond with the units of the input parameters.
See Also