You are here: Start » AVL.NET » Function Reference » ShapeRegion » Shape Region Basics » AVL.AlignShapeRegion
Aligns a shape region to a coordinate system.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void AlignShapeRegion ( AvlNet.ShapeRegion inShapeRegion, AvlNet.CoordinateSystem2D inShapeRegionAlignment, bool inInverse, int? inFrameWidth, int? inFrameHeight, AvlNet.ShapeRegion outAlignedShapeRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inShapeRegion | AvlNet.ShapeRegion | ||||
inShapeRegionAlignment | AvlNet.CoordinateSystem2D | Coordinate system to align to. | |||
inInverse | bool | Switches to the inverse transform. | |||
inFrameWidth | int? | <0, 65535> | Width of the created region's frame. Default value: atl::NIL. | ||
inFrameHeight | int? | <0, 65535> | Height of the created region's frame. Default value: atl::NIL. | ||
outAlignedShapeRegion | AvlNet.ShapeRegion |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Invalid ShapeRegion in AlignShapeRegion. |