AlignRectangle
Moves a rectangle from a local coordinate system to the absolute one.
Applications:Required when there is a rectangle defined in a local coordinate system, but the next image-related filter in the program does not have any inAlignment input.
Syntax
C++
Python
def AlignRectangle( inRectangle: Rectangle2D, inAlignment: CoordinateSystem2D, /, *, inInverse: bool = False ) -> outAlignedRectangle: Rectangle2D
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRectangle | Rectangle2D | ||
![]() |
inAlignment | CoordinateSystem2D | Coordinate system to align to | |
![]() |
inInverse | bool | False | Switches to the inverse transform |
![]() |
outAlignedRectangle | Rectangle2D |


