You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Features » AVL.PointsBoundingBox

AVL.PointsBoundingBox

Computes the smallest box containing an array of points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PointsBoundingBox
(
	IList<AvlNet.Point2D> inPoints,
	out AvlNet.Box outBoundingBox
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>
outBoundingBoxAvlNet.Box

Examples

The resulting outBoundingBox drawn with the input points.

Errors

List of possible exceptions:

Error type Description
DomainError Empty array on input in PointsBoundingBox.

See also