You are here: Start » AVL.NET » AVS.TrimRegionToRectangle Method

AVS.TrimRegionToRectangle Method

Limits a region to a rectangular area.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void TrimRegionToRectangle
(
	AvlNet.Region inRegion,
	AvlNet.Rectangle2D inRectangle,
	AvlNet.CoordinateSystem2D? inRectangleAlignment,
	AvlNet.Region outRegion,
	out AvlNet.Rectangle2D outAlignedRectangle
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inRectangleAvlNet.Rectangle2DTrimming rectangle.
inRectangleAlignmentAvlNet.CoordinateSystem2D?Adjusts the rectangle to the position of the inspected object. Default value: atl::NIL.
outRegionAvlNet.RegionOutput region.
outAlignedRectangleAvlNet.Rectangle2DInput rectangle after transformation (in the region coordinates).

Function Overrides

See also