Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Spatial Transforms » TrimRegionToShape
TrimRegionToShape
Header: | AVL.h |
---|---|
Namespace: | avl |
Removes region elements lying beyond the specified shape.
Syntax
C++
C#
void avl::TrimRegionToShape ( const avl::Region& inRegion, const avl::Path& inShape, avl::Region& outRegion )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inRegion | const Region& | Input region | ||
inShape | const Path& | |||
outRegion | Region& | Output region |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Path is not closed in TrimRegionToShape. |