TranslatePoint_Toward


Translates a point towards another point by a specified distance.

Syntax

C++
Python
 
def TranslatePoint_Toward(
	inPoint: Point2D,
	inTargetPoint: Point2D,
	inDistance: float,
	/,
	*,
	inInverse: bool = False
)
-> outPoint: Point2D

Parameters

Name Type Default Description
Input value inPoint Point2D
Input value inTargetPoint Point2D Defines the direction of the translation
Input value inDistance float The distance between inPoint and outPoint
Input value inInverse bool False Switches to the inverse operation
Output value outPoint Point2D