You are here: Start » AVL.NET » Function Reference » Region » Region Features » AVL.RegionBoundingBox

AVL.RegionBoundingBox

Computes the smallest box containing a region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RegionBoundingBox
(
	AvlNet.Region inRegion,
	out AvlNet.Box outBoundingBox
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
outBoundingBoxAvlNet.Box

Examples

The resulting outBoundingBox box drawn onto the input region.

Errors

List of possible exceptions:

Error type Description
DomainError Empty region on input in RegionBoundingBox.

See also