RescaleLine


Changes the distance of a line to a reference point.

Syntax

C++
Python
 
def RescaleLine(
	inLine: Line2D,
	inReferencePoint: Point2D,
	/,
	*,
	inScale: float = 1.0,
	inInverse: bool = False
)
-> outLine: Line2D

Parameters

Name Type Default Description
Input value inLine Line2D
Input value inReferencePoint Point2D The point to which all distances change linearly
Input value inScale float 1.0 Scaling factor
Input value inInverse bool False Switches to the inverse operation
Output value outLine Line2D