Click or drag to resize

KeplerianElementsSemimajorAxisToPeriod Method

Note: This API is now obsolete.

Calculates the orbital period from the semimajor axis and gravitational parameter.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
[ObsoleteAttribute("Use OrbitalElements.TryComputePeriod instead.")]
public static double SemimajorAxisToPeriod(
	double semimajorAxis,
	double gravitationalParameter
)

Parameters

semimajorAxis
Type: SystemDouble
The semimajor axis (distance).
gravitationalParameter
Type: SystemDouble
The gravitational parameter (distance cubed per time squared).

Return Value

Type: Double
The orbital period (time).
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe semimajor axis cannot be negative.
See Also