Back to Aurora Vision Library Lite websiteYou are here:
Start »
Region »
Region Features »
RegionBoundingBox
Header: |
AVL.h
|
Namespace: |
avl |
Computes the smallest box containing a region.
Syntax
void avl::RegionBoundingBox
(
const avl::Region& inRegion,
avl::Box& outBoundingBox
)
Parameters
|
Name |
Type |
Default |
Description |
|
inRegion |
const Region& |
|
Input region |
|
outBoundingBox |
Box& |
|
|
Hints
- If the input region is not guaranteed to be non-empty, precede this filter with SkipEmptyRegion.
Examples
The resulting outBoundingBox box drawn onto the input region.
Errors
List of possible exceptions:
Error type |
Description |
DomainError |
Empty region on input in RegionBoundingBox. |
See Also