Click or drag to resize

PrimitiveFactoryCreateEllipseBoundary Method (CentralBody, Cartesian, Double, Double, Double, Double)

Creates an ellipse shaped PolylinePrimitive with a specified granularity.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 20.3.405.0 (20.3.405.0)
Syntax
public static PolylinePrimitive CreateEllipseBoundary(
	CentralBody centralBody,
	Cartesian center,
	double majorAxisRadius,
	double minorAxisRadius,
	double bearing,
	double granularity
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
Central body to place the ellipse on
center
Type: AGI.Foundation.CoordinatesCartesian
Cartesian center of the ellipse
majorAxisRadius
Type: SystemDouble
Major axis radius of the ellipse
minorAxisRadius
Type: SystemDouble
Minor axis radius of the ellipse
bearing
Type: SystemDouble
Bearing of the ellipse
granularity
Type: SystemDouble
Granularity of the ellipse

Return Value

Type: PolylinePrimitive
PolylinePrimitive object shaped as an ellipse with granularity
See Also