KeplerianElementsComputePeriod Method |
Computes the orbital period of the current Keplerian elements.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic double ComputePeriod()
Public Function ComputePeriod As Double
public:
double ComputePeriod()
member ComputePeriod : unit -> float
Return Value
Type:
DoubleThe orbital period (time).
Exceptions| Exception | Condition |
|---|
| InvalidOperationException | If the OrbitType does not represent a
closed orbit (either circular or elliptical), there is no orbital period. |
See Also