Click or drag to resize

KeplerianElementsComputeEccentricity Method

Note: This API is now obsolete.

Computes the eccentricity from the given radius of periapsis and the semimajor axis.

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.TryComputeEccentricity instead.")]
public static double ComputeEccentricity(
	double radiusPeriapsis,
	double semimajorAxis
)

Parameters

radiusPeriapsis
Type: SystemDouble
Radius of periapsis.
semimajorAxis
Type: SystemDouble
The semimajor axis.

Return Value

Type: Double
The eccentricity of the orbit.
Remarks
This method does not require SI units as long as both parameters use the same units.
See Also