You are here: Start » AVL.NET » AVL.CropRegionToRectangle(AvlNet.Region, AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D?, AvlNet.Region)
AVL.CropRegionToRectangle(AvlNet.Region, AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D?, AvlNet.Region)
Creates a region from a rectangular fragment of another one.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CropRegionToRectangle( AvlNet.Region inRegion, AvlNet.Rectangle2D inRectangle, AvlNet.CoordinateSystem2D? inRectangleAlignment, out AvlNet.Region outRegion )
Parameters
- inRegion
- Type: AvlNet.Region
Input region - inRectangle
- Type: AvlNet.Rectangle2D
Rectangle defining a rotated subregion - inRectangleAlignment
- Type: System.Nullable<AvlNet.CoordinateSystem2D>
Adjusts the rectangle to the position of the inspected object, or null. - outRegion
- Type: AvlNet.Region
Output region
