You are here: Start » AVL.NET » AVS.CreateRectangleRegion Method
AVS.CreateRectangleRegion Method
Creates a region corresponding to a given rectangle.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CreateRectangleRegion ( AvlNet.Rectangle2D inRectangle, AvlNet.CoordinateSystem2D? inRectangleAlignment, int inFrameWidth, int inFrameHeight, AvlNet.Region outRegion, NullableValue<AvlNet.Rectangle2D> outAlignedRectangle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRectangle | AvlNet.Rectangle2D | ||||
inRectangleAlignment | AvlNet.CoordinateSystem2D? | Adjusts the rectangle to the position of the inspected object. Default value: atl::NIL. | |||
inFrameWidth | int | <0, 65535> | Width of the created region's frame (not to be confused with the width of the rectangle!). | ||
inFrameHeight | int | <0, 65535> | Height of the created region's frame (not to be confused with the height of the rectangle!). | ||
outRegion | AvlNet.Region | Output region. | |||
outAlignedRectangle | AvlNet.NullableValue<AvlNet.Rectangle2D> | The input rectangle transformed to the absolute coordinate system. Can be null to skip this parameter calculation. |
Function Overrides
- CreateRectangleRegion(Rectangle2D, Int32, Int32, Region)
- CreateRectangleRegion(Rectangle2D, Nullable<CoordinateSystem2D>, Int32, Int32, Region)
- CreateRectangleRegion(Rectangle2D, Nullable<CoordinateSystem2D>, Int32, Int32, Region, Rectangle2D)