Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Features » RegionBoundingBox
Header: | AVL.h |
---|---|
Namespace: | avl |
Computes the smallest box containing a region.
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
List of possible exceptions:
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.