Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Relations » TestRegionInRegion
TestRegionInRegion
Tests whether a region is contained in another one.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::TestRegionInRegion ( const avl::Region& inSubregion, const avl::Region& inRegion, bool& outIsContained )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inSubregion | const Region& | |||
inRegion | const Region& | Input region | ||
outIsContained | bool& |
Description
The operation tests whether the inSubregion is contained inside the inRegion. The resulting outIsContained is set to 'true' if and only if each pixel of inSubregion is also included in inRegion.
Examples
See Also
- TestRegionEqualTo – Tests whether given regions are equal.