Back to Aurora Vision Library Lite website

You are here: Start » Geometry 2D » Geometry 2D Features » PointsBoundingBox

PointsBoundingBox


Header: AVL.h
Namespace: avl

Computes the smallest box containing an array of points.

Syntax

void avl::PointsBoundingBox
(
	const atl::Array<avl::Point2D>& inPoints,
	avl::Box& outBoundingBox
)

Parameters

Name Type Default Description
Input value inPoints const Array<Point2D>&
Output value outBoundingBox 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.