Click or drag to resize

PrimitiveFactoryCreateEllipse Method (CentralBody, Cartesian, Double, Double, Double)

Creates an ellipse triangle mesh.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 20.4.407.0 (20.4.407.0)
Syntax
public static TriangleMeshPrimitive CreateEllipse(
	CentralBody centralBody,
	Cartesian center,
	double majorAxisRadius,
	double minorAxisRadius,
	double bearing
)

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 of the ellipse
minorAxisRadius
Type: SystemDouble
Minor axis of the ellipse
bearing
Type: SystemDouble
Bearing of the ellipse

Return Value

Type: TriangleMeshPrimitive
TriangleMeshPrimitive shaped as an ellipse
See Also