Click or drag to resize

PrimitiveFactoryCreatePolygonCartographic Method

Creates a polygon 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 CreatePolygonCartographic(
	CentralBody centralBody,
	IEnumerable<Cartographic> positions
)

Parameters

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

Return Value

Type: TriangleMeshPrimitive
TriangleMeshPrimitive shaped as a polygon
See Also