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.2.419.0 (24.2.419.0)
Syntax public static PolylinePrimitive CreatePolygonBoundary(
IEnumerable<Cartesian> positions
)
Public Shared Function CreatePolygonBoundary (
positions As IEnumerable(Of Cartesian)
) As PolylinePrimitive
public:
static PolylinePrimitive^ CreatePolygonBoundary(
IEnumerable<Cartesian>^ positions
)
static member CreatePolygonBoundary :
positions : IEnumerable<Cartesian> -> PolylinePrimitive
Parameters
- positions
- Type: System.Collections.GenericIEnumerableCartesian
Cartesian positions of the polygon
Return Value
Type:
PolylinePrimitivePolylinePrimitive shaped as a polygon
See Also