Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » PointsBoundingCircle

PointsBoundingCircle
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Computes the smallest circle containing an array of points.
Syntax
C++
C#
void fil::PointsBoundingCircle ( const ftl::Array<fil::Point2D>& inPoints, fil::Circle2D& outBoundingCircle )
Parameters
Examples
![]() |
The resulting outBoundingCircle drawn with the input points.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty array on input in PointsBoundingCircle. |