You are here: Start » AVL.NET » Function Reference » Region » Region Spatial Transforms » AVL.CropRegion
Creates a region from a rectangular fragment of another one.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CropRegion ( AvlNet.Region inRegion, AvlNet.Box inSelection, AvlNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | AvlNet.Region | Input region. | ||
![]() | inSelection | AvlNet.Box | Box defining the range of cropping. | ||
![]() | outRegion | AvlNet.Region | Output region. |
Examples
![]() |
![]() |
CropRegion performed on the sample region with inSelection = Box(0,0,200,200).