Start » Filter Reference » Geometry 2D » Geometry 2D Spatial Transforms » RotateRectangle
Module: | FoundationLite |
---|
Rotates a rectangle clockwise around a center point.
Name | Type | Description | |
---|---|---|---|
![]() |
inRectangle | Rectangle2D | |
![]() |
inCenter | Point2D* | Center of rotation (the rectangle's point by default) |
![]() |
inAngle | Real | Clockwise rotation angle |
![]() |
inInverse | Bool | Switches to the inverse operation |
![]() |
outRectangle | Rectangle2D |
Examples
![]() |
![]() |
RotateRectangle performed on the sample rectangle, inCenter = Auto, inAngle = 40.0 and inInverse = False.
Complexity Level
This filter is available on Advanced Complexity Level.