Click or drag to resize

PrimitiveFactoryCreatePolygon Method

Creates a polygon triangle mesh.

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 TriangleMeshPrimitive CreatePolygon(
	CentralBody centralBody,
	IEnumerable<Cartesian> positions
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
Central body to place the polygon on
positions
Type: System.Collections.GenericIEnumerableCartesian
Cartesian positions of the polygon

Return Value

Type: TriangleMeshPrimitive
TriangleMeshPrimitive shaped as a polygon
See Also