Back to Aurora Vision Studio website
	
                
                    
	
		
	You are here: Start » Filter Reference » Region » Region Spatial Transforms » TrimRegionToPolygon
| Module: | FoundationPro | 
|---|
Removes region elements lying beyond the specified polygon.
| Name | Type | Description | |
|---|---|---|---|
![]()  | 
				inRegion | Region | Input region | 
![]()  | 
				inPolygon | Path | |
![]()  | 
				outRegion | Region | Output region | 
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
| Error type | Description | 
|---|---|
| DomainError | Path is not closed in TrimRegionToPolygon. | 
Complexity Level
This filter is available on Advanced Complexity Level.

 Advanced
