Click or drag to resize

PrimitiveFactoryCreatePolygonBoundaryCartographic Method

Creates a bounded polygon from a list of positions.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static PolylinePrimitive CreatePolygonBoundaryCartographic(
	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. First and last points need to be equal for a closed polygon

Return Value

Type: PolylinePrimitive
PolylinePrimitive shaped as a polygon
See Also