Click or drag to resize

SurfaceShapesComputeEllipseCartographic Method (CentralBody, Cartographic, Double, Double, Double, Double)

For convenience. Computes boundary positions for an ellipse on the specified centralBody using a Cartographic center. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting center to Cartesian and calling ComputeEllipse(CentralBody, Cartesian, Double, Double, Double, Double)

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 ComputeEllipseCartographic(
	CentralBody centralBody,
	Cartographic center,
	double majorAxisRadius,
	double minorAxisRadius,
	double bearing,
	double granularity
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body to compute the ellipse on.
center
Type: AGI.Foundation.CoordinatesCartographic
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.
granularity
Type: SystemDouble
The angular separation, in radians, of positions along the boundary.

Return Value

Type: SurfaceShapesResult
A SurfaceShapesResult object representing the boundary of the ellipse, in the centralBody's fixed reference frame.
Remarks
See Also