AlignSegment


Moves a segment from a local coordinate system to the absolute one.

Applications:Required when there is a segment 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 AlignSegment(
	inSegment: Segment2D,
	inAlignment: CoordinateSystem2D,
	/,
	*,
	inInverse: bool = False
)
-> outAlignedSegment: Segment2D

Parameters

Name Type Default Description
Input value inSegment Segment2D
Input value inAlignment CoordinateSystem2D Coordinate system to align to
Input value inInverse bool False Switches to the inverse transform
Output value outAlignedSegment Segment2D