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