You are here: Start » AVL.NET » AVS.CreatePolygonRegion Method

AVS.CreatePolygonRegion Method

Creates a polygonal region corresponding to a given closed path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreatePolygonRegion
(
	AvlNet.Path inPolygon,
	AvlNet.CoordinateSystem2D? inPolygonAlignment,
	int inFrameWidth,
	int inFrameHeight,
	AvlNet.Region outRegion,
	AvlNet.Path outAlignedPolygon
)

Parameters

Name Type Range Default Description
inPolygonAvlNet.Path
inPolygonAlignmentAvlNet.CoordinateSystem2D?Adjusts the polygon to the position of the inspected object. Default value: atl::NIL.
inFrameWidthint<0, 65535>Width of the created region's frame.
inFrameHeightint<0, 65535>Height of the created region's frame.
outRegionAvlNet.RegionOutput region.
outAlignedPolygonAvlNet.PathThe input polygon transformed to the absolute coordinate system.

Function Overrides

See also