Back to FabImage Library website
You are here: Start » Function Reference » Region » Region Features » RegionBoundingCircle

RegionBoundingCircle
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Computes the smallest circle enclosing a region.
Syntax
C++
C#
void fil::RegionBoundingCircle ( const fil::Region& inRegion, fil::Circle2D& outBoundingCircle )
Parameters
Hints
- If the input region is not guaranteed to be non-empty, precede this filter with SkipEmptyRegion.
Examples
![]() |
The resulting outBoundingCircle circle drawn onto the input region.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty region on input in RegionBoundingCircle. |
See Also
- RegionBoundingBox – Computes the smallest box containing a region.
- PathBoundingCircle – Computes the smallest circle enclosing a path.