SurfaceShapesComputeEllipse Method (CentralBody, Cartesian, Double, Double, Double) |
Computes boundary positions for an ellipse on the specified centralBody
This is equivalent to calling
ComputeEllipse(CentralBody, Cartesian, Double, Double, Double)
with a granularity of 1 degree.
Namespace:
AGI.Foundation.Geometry.Discrete
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static SurfaceShapesResult ComputeEllipse(
CentralBody centralBody,
Cartesian center,
double majorAxisRadius,
double minorAxisRadius,
double bearing
)
Public Shared Function ComputeEllipse (
centralBody As CentralBody,
center As Cartesian,
majorAxisRadius As Double,
minorAxisRadius As Double,
bearing As Double
) As SurfaceShapesResult
public:
static SurfaceShapesResult^ ComputeEllipse(
CentralBody^ centralBody,
Cartesian center,
double majorAxisRadius,
double minorAxisRadius,
double bearing
)
static member ComputeEllipse :
centralBody : CentralBody *
center : Cartesian *
majorAxisRadius : float *
minorAxisRadius : float *
bearing : float -> SurfaceShapesResult
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The central body to compute the ellipse on. - center
- Type: AGI.Foundation.CoordinatesCartesian
The center of the ellipse, in the centralBody's fixed reference frame. - majorAxisRadius
- Type: SystemDouble
The radius of the ellipse's major axis, in meters. - minorAxisRadius
- Type: SystemDouble
The radius of the ellipse's minor axis, in meters. - bearing
- Type: SystemDouble
An angle, in radians, measured clockwise from north.
Return Value
Type:
SurfaceShapesResultA
SurfaceShapesResult object representing the boundary of the ellipse, in the
centralBody's fixed reference frame.
Remarks See Also