RescalePoint


Changes the distance of a point to a reference point.

Syntax

C++
Python
 
def RescalePoint(
	inPoint: Point2D,
	inReferencePoint: Point2D,
	/,
	*,
	inScale: float = 1.0,
	inInverse: bool = False
)
-> outPoint: Point2D

Parameters

Name Type Default Description
Input value inPoint Point2D
Input value inReferencePoint Point2D Point to which the distance will be changed
Input value inScale float 1.0 Scaling factor
Input value inInverse bool False Switches to the inverse operation
Output value outPoint Point2D