TranslateLine


Translates a line by a vector.

Syntax

C++
Python
 
def TranslateLine(
	inLine: Line2D,
	inDelta: Vector2D,
	/,
	*,
	inInverse: bool = False,
	inDeltaAlignment: TranslateAlignment = TranslateAlignment.Absolute
)
-> outLine: Line2D

Parameters

Name Type Default Description
Input value inLine Line2D
Input value inDelta Vector2D Vector of translation
Input value inInverse bool False Switches to the inverse operation
Input value inDeltaAlignment TranslateAlignment TranslateAlignment.Absolute
Output value outLine Line2D