Click or drag to resize

KeplerianElementsComputeEccentricAnomaly Method

Computes the eccentric anomaly based on the current Keplerian position.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public double ComputeEccentricAnomaly()

Return Value

Type: Double
The current eccentric anomaly (radians).
Exceptions
ExceptionCondition
InvalidOperationException Thrown when OrbitType does not represent either a circular or elliptical orbit. To find mean anomaly for parabolic or hyperbolic orbits, convert to ModifiedKeplerianElements.
Remarks
Keplerian elements are not intended to represent parabolic and hyperbolic orbits. To find parabolic and hyperbolic anomalies, convert these elements to ModifiedKeplerianElements.
See Also