Back to Aurora Vision Library Lite websiteYou are here:
Start »
Geometry 2D »
Geometry 2D Features »
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 |
|
inPoints |
const Array<Point2D>& |
|
|
|
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. |