You are here: Start » AVL.NET » Invoke.CropRegionToQuadrangle
Creates a region from a quadrangular fragment of another one. The quadrangle must be convex.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void CropRegionToQuadrangle ( Avl.Region inRegion, Avl.Path inQuadrangle, Optional<Avl.Size> inOutputSize, Optional<Avl.CoordinateSystem2D> inQuadrangleAlignment, Avl.Region outRegion, Optional<Avl.Path> outAlignedShape )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | Avl.Region | Input region. | ||
![]() | inQuadrangle | Avl.Path | A convex quadrangle defining a region to be cropped (points must be clockwise). | ||
![]() | inOutputSize | Atl.Optional<Avl.Size> | Width and height of the output region. Default value: atl::NIL. | ||
![]() | inQuadrangleAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the quadrangle to the position of the inspected object. Default value: atl::NIL. | ||
![]() | outRegion | Avl.Region | Output region. | ||
![]() | outAlignedShape | Atl.Optional<Avl.Path> | The input quadrangle after transformation (in the region coordinates). |