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

AVL.PointsBoundingBox Method

Computes the smallest box containing an array of points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PointsBoundingBox(
	AvlNet.Point2D[] inPoints,
	out AvlNet.Box outBoundingBox
)

Parameters

Name Type Range Default Description
inPointsAvlNet.Point2D
outBoundingBoxAvlNet.Box

Examples

The resulting outBoundingBox drawn with the input points.

Errors

Error type Description
DomainError Empty array on input in PointsBoundingBox.

See also