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

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
inShapeRegionAvlNet.ShapeRegion
inShapeRegionAlignmentAvlNet.CoordinateSystem2D?Adjusts the shape region to the position of the inspected object. Default value: atl::NIL.
inFrameWidthint<0, 65535>Width of the created region's frame.
inFrameHeightint<0, 65535>Height of the created region's frame.
outRegionAvlNet.RegionOutput region.

Errors

List of possible exceptions:

Error type Description
DomainError Invalid ShapeRegion in CreateShapeRegionRegion.

Function Overrides

See also