You are here: Start » AVL.NET » Function Reference » Region » Region Spatial Transforms » AVL.CropRegionToRectangle

AVL.CropRegionToRectangle

Creates a region from a rectangular fragment of another one.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CropRegionToRectangle
(
	AvlNet.Region inRegion,
	AvlNet.Rectangle2D inRectangle,
	AvlNet.CoordinateSystem2D? inRectangleAlignment,
	AvlNet.Region outRegion
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inRectangleAvlNet.Rectangle2DRectangle defining a rotated subregion.
inRectangleAlignmentAvlNet.CoordinateSystem2D?Adjusts the rectangle to the position of the inspected object. Default value: atl::NIL.
outRegionAvlNet.RegionOutput region.

Function Overrides

See also