Back to Adaptive Vision Studio website
                
                    
		
	You are here: Start » Filter Reference » Region Spatial Transforms » RotateRegion
Rotates a region around a point.
| Name | Type | Range | Description | |
|---|---|---|---|---|
![]()  | 
				inRegion | Region | Input region | |
![]()  | 
				inCenter | Point2D* | Center of rotation | |
![]()  | 
				inAngle | Real | Clockwise rotation angle | |
![]()  | 
				inInverse | Bool | Switches to counter-clockwise rotation | |
![]()  | 
				inFrameWidth | Integer* | 1 - ![]()  | 
				Output region frame width | 
![]()  | 
				inFrameHeight | Integer* | 1 - ![]()  | 
				Output region frame height | 
![]()  | 
				outRegion | Region | Output region | |
Description
The operation rotates a region by the inAngle degrees around inCenter point. If the inCenter is not provided, the rotation is conducted around the mass center of the region.
Examples
![]()  | 
![]()  | 
RotateRegion performed on the sample region with inAngle set to 45.
Complexity Level
This filter is available on Advanced Complexity Level.
See Also
- TranslateRegion – Translates a region by a given number of pixels along each axis.
 





