Back to FabImage Library Lite website
You are here: Start » Geometry 2D Features » PointsBoundingBox

PointsBoundingBox
Computes the smallest box containing an array of points.
Syntax
void fil::PointsBoundingBox ( const ftl::Array<fil::Point2D>& inPoints, fil::Box& outBoundingBox )
Parameters
Examples
![]() |
The resulting outBoundingBox drawn with the input points.
Errors
Error type | Description |
---|---|
DomainError | Empty array on input in PointsBoundingBox. |