Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Features » RegionBoundingBox
Computes the smallest box containing a region.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::RegionBoundingBox ( const avl::Region& inRegion, avl::Box& outBoundingBox )
Parameters
Hints
- If the input region is not guaranteed to be non-empty, precede this filter with SkipEmptyRegion.
Examples
Errors
Error type | Description |
---|---|
DomainError | Empty region on input in RegionBoundingBox. |
See Also
- PathBoundingBox – Computes the smallest box containing a path.
- RegionBoundingCircle – Computes the smallest circle enclosing a region.