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

AVL.CropRegion

Creates a region from a rectangular fragment of another one.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CropRegion
(
	AvlNet.Region inRegion,
	AvlNet.Box inSelection,
	AvlNet.Region outRegion
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inSelectionAvlNet.BoxBox defining the range of cropping.
outRegionAvlNet.RegionOutput region.

Examples

CropRegion performed on the sample region with inSelection = Box(0,0,200,200).

See also