Back to Adaptive Vision Library website
You are here: Start » Function Reference » Surface Basics » SkipEmptySurfaceRegion
SkipEmptySurfaceRegion
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
If the input surface contains at least one valid point in a given region, then the region is copied to the output; otherwise Nil is returned.
Syntax
C++
C#
void avl::SkipEmptySurfaceRegion ( const avl::Surface& inSurface, const avl::Region& inRegion, atl::Conditional<avl::Region>& outNotEmptySurfaceRegion, bool& outIsNotEmpty )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inSurface | const Surface& | ||
![]() |
inRegion | const Region& | Input region | |
![]() |
outNotEmptySurfaceRegion | Conditional<Region>& | ||
![]() |
outIsNotEmpty | bool& |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Input region frame exceeds the input surface frame in SkipEmptySurfaceRegion. |


