You are here: Start » AVL.NET » Function Reference » ShapeRegion » Shape Region Basics » AVL.AlignShapeRegion

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
inShapeRegionAvlNet.ShapeRegion
inShapeRegionAlignmentAvlNet.CoordinateSystem2DCoordinate system to align to.
inInverseboolSwitches to the inverse transform.
inFrameWidthint?<0, 65535>Width of the created region's frame. Default value: atl::NIL.
inFrameHeightint?<0, 65535>Height of the created region's frame. Default value: atl::NIL.
outAlignedShapeRegionAvlNet.ShapeRegion

Errors

List of possible exceptions:

Error type Description
DomainError Invalid ShapeRegion in AlignShapeRegion.

See also