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: 24.3.420.0 (24.3.420.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