Back to FabImage Library Lite websiteYou are here:
Start »
Geometry 2D »
Geometry 2D Features »
PointsBoundingBox
Header: |
FIL.h
|
Namespace: |
fil |
Computes the smallest box containing an array of points.
Syntax
void fil::PointsBoundingBox
(
const ftl::Array<fil::Point2D>& inPoints,
fil::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. |