Back to Aurora Vision Library Lite websiteYou are here:
Start »
Region »
Region Basics »
VerifyRegion
| Header: |
AVL.h
|
| Namespace: |
avl |
Checks if the point-runs of the input region are correctly arranged (sorted, not overlapping etc.).
Applications: You only need to use this tool if you create regions from point-runs manually.
Syntax
void avl::VerifyRegion
(
const avl::Region& inRegion
)
Parameters
|
Name |
Type |
Default |
Description |
 |
inRegion |
const Region& |
|
Input region |
Errors
List of possible exceptions:
| Error type |
Description |
| DomainError |
Input region's dimension is negative in VerifyRegion. |
| DomainError |
Input region's PointRun end has invalid X coordinate in VerifyRegion. |
| DomainError |
Input region's PointRun has invalid Y coordinate in VerifyRegion. |
| DomainError |
Input region's PointRun is empty in VerifyRegion. |
| DomainError |
Input region's PointRuns are not sorted in VerifyRegion. |
| DomainError |
Input region's size is negative in VerifyRegion. |