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
Input value inRectangle Rectangle2D
Input value inAlignment CoordinateSystem2D Coordinate system to align to
Input value inInverse bool False Switches to the inverse transform
Output value outAlignedRectangle Rectangle2D