You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inPolygon | Avl.Path | |||
![]() | inPolygonAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the polygon to the position of the inspected object. Default value: atl::NIL. | ||
![]() | inFrameWidth | int | <0, 65535> | Width of the created region's frame. | |
![]() | inFrameHeight | int | <0, 65535> | Height of the created region's frame. | |
![]() | outRegion | Avl.Region | Output region. | ||
![]() | outAlignedPolygon | Atl.Optional<Avl.Path> | The input polygon transformed to the absolute coordinate system. |