You are here: Start » AVL.NET » AVL.RegionBoundingBox Method

AVL.RegionBoundingBox Method

Computes the smallest box containing a region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Error type Description
DomainError Empty region on input in RegionBoundingBox.

See also