Start » Filter Reference » Region » Region Features » RegionBoundingBox
Module: | FoundationLite |
---|
Computes the smallest box containing a region.
Name | Type | Description | |
---|---|---|---|
![]() |
inRegion | Region | Input region |
![]() |
outBoundingBox | Box |
Hints
- If the input region is not guaranteed to be non-empty, precede this filter with SkipEmptyRegion.
Examples
Description of usage of this filter can be found in examples and tutorial: Brick destroy (Game).
![]() |
The resulting outBoundingBox box drawn onto the input region.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty region on input in RegionBoundingBox. |
Complexity Level
This filter is available on Basic Complexity Level.
Filter Group
This filter is member of RegionBoundingBox filter group.
See Also
- RegionBoundingCircle – Computes the smallest circle enclosing a region.
- PathBoundingBox – Computes the smallest box containing a path.