Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » PointsBoundingBox
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Computes the smallest box containing an array of points.
Syntax
C++
C#
void fil::PointsBoundingBox ( const ftl::Array<fil::Point2D>& inPoints, fil::Box& outBoundingBox )
Parameters
Examples
![]() |
The resulting outBoundingBox drawn with the input points.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty array on input in PointsBoundingBox. |