GreatArcInterpolator Constructor (CentralBody, Double) |
Initializes a great arc interpolator with the specified centralBody
and granularity.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic GreatArcInterpolator(
CentralBody centralBody,
double granularity
)
Public Sub New (
centralBody As CentralBody,
granularity As Double
)
public:
GreatArcInterpolator(
CentralBody^ centralBody,
double granularity
)
new :
centralBody : CentralBody *
granularity : float -> GreatArcInterpolatorParameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The central body used when interpolating with Interpolate(IEnumerableCartesian). - granularity
- Type: SystemDouble
The granularity, in radians, used when interpolating with Interpolate(IEnumerableCartesian).
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | centralBody is null.
|
| ArgumentOutOfRangeException | granularity must be greater than zero.
|
See Also