You are here: Start » AVL.NET » Function Reference » ShapeRegion » Shape Region Basics » AVL.CreateShapeRegionRegion
Creates a region corresponding to the given shape region.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateShapeRegionRegion ( AvlNet.ShapeRegion inShapeRegion, AvlNet.CoordinateSystem2D? inShapeRegionAlignment, int inFrameWidth, int inFrameHeight, AvlNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inShapeRegion | AvlNet.ShapeRegion | ||||
inShapeRegionAlignment | AvlNet.CoordinateSystem2D? | Adjusts the shape region to the position of the inspected object. Default value: atl::NIL. | |||
inFrameWidth | int | <0, 65535> | Width of the created region's frame. | ||
inFrameHeight | int | <0, 65535> | Height of the created region's frame. | ||
outRegion | AvlNet.Region | Output region. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Invalid ShapeRegion in CreateShapeRegionRegion. |
Function Overrides
- CreateShapeRegionRegion(ShapeRegion, Int32, Int32, Region)
- CreateShapeRegionRegion(ShapeRegion, Nullable<CoordinateSystem2D>, Int32, Int32, Region, ShapeRegion)
- CreateShapeRegionRegion(ShapeRegion, Nullable<CoordinateSystem2D>, Int32, Int32, Region, NullableRef<ShapeRegion>)