You are here: Start » AVL.NET » AVL.CropRegionToRectangle
Creates a region from a rectangular fragment of another one.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CropRegionToRectangle ( AvlNet.Region inRegion, AvlNet.Rectangle2D inRectangle, out AvlNet.Region outRegion, out AvlNet.Rectangle2D outAlignedRectangle, out AvlNet.CoordinateSystem2D outOutputAlignment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | AvlNet.Region | Input region. | ||
![]() | inRectangle | AvlNet.Rectangle2D | Rectangle defining a rotated subregion. | ||
![]() | outRegion | AvlNet.Region | Output region. | ||
![]() | outAlignedRectangle | AvlNet.Rectangle2D | Input rectangle after transformation (in the region coordinates) | ||
![]() | outOutputAlignment | AvlNet.CoordinateSystem2D | Alignment of the output region |
See also
- CropRegionToRectangle(AvlNet.Region, AvlNet.Rectangle2D, AvlNet.Region)
- CropRegionToRectangle(AvlNet.Region, AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D?, AvlNet.Region)
- CropRegionToRectangle(AvlNet.Region, AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D?, AvlNet.Region, AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D)
- Class Reference
- AVL Class