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: 20.4.407.0 (20.4.407.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