You are here: Start » AVL.NET » Invoke.TrimRegionToRectangle
Limits a region to a rectangular area.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void TrimRegionToRectangle ( Avl.Region inRegion, Avl.Rectangle2D inRectangle, Optional<Avl.CoordinateSystem2D> inRectangleAlignment, Avl.Region outRegion, Optional<Avl.Rectangle2D> outAlignedRectangle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | Avl.Region | Input region. | ||
![]() | inRectangle | Avl.Rectangle2D | Trimming rectangle. | ||
![]() | inRectangleAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the rectangle to the position of the inspected object. Default value: atl::NIL. | ||
![]() | outRegion | Avl.Region | Output region. | ||
![]() | outAlignedRectangle | Atl.Optional<Avl.Rectangle2D> | Input rectangle after transformation (in the region coordinates). |