You are here: Start » AVL.NET » Invoke.CreatePolygonRegion

Invoke.CreatePolygonRegion

Creates a polygonal region corresponding to a given closed path.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CreatePolygonRegion
(
	Avl.Path inPolygon,
	Optional<Avl.CoordinateSystem2D> inPolygonAlignment,
	int inFrameWidth,
	int inFrameHeight,
	Avl.Region outRegion,
	Optional<Avl.Path> outAlignedPolygon
)

Parameters

Name Type Range Default Description
inPolygonAvl.Path
inPolygonAlignmentAtl.Optional<Avl.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.
outRegionAvl.RegionOutput region.
outAlignedPolygonAtl.Optional<Avl.Path>The input polygon transformed to the absolute coordinate system.

See also