Click or drag to resize

PrimitiveFactoryCreatePolygonBoundary 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.1.418.0 (24.1.418.0)
Syntax
public static PolylinePrimitive CreatePolygonBoundary(
	IEnumerable<Cartesian> positions
)

Parameters

positions
Type: System.Collections.GenericIEnumerableCartesian
Cartesian positions of the polygon

Return Value

Type: PolylinePrimitive
PolylinePrimitive shaped as a polygon
See Also