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,
	out AvlNet.Rectangle2D outAlignedRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2D
inRectangleAlignmentAvlNet.CoordinateSystem2D?Adjusts the rectangle to the position of the inspected object. Default value: atl::NIL.
inFrameWidthint<0, 65535>Width of the created region's frame (not to be confused with the width of the rectangle!).
inFrameHeightint<0, 65535>Height of the created region's frame (not to be confused with the height of the rectangle!).
outRegionAvlNet.RegionOutput region.
outAlignedRectangleAvlNet.Rectangle2DThe input rectangle transformed to the absolute coordinate system.

Function Overrides

See also