Back to FabImage Library website
You are here: Start » Function Reference » Region » Region Basics » VerifyRegion
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
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
C++
C#
void fil::VerifyRegion ( const fil::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. |