You are here: Start » AVL.NET » AVL.RescalePath(AvlNet.Path, float, bool, AvlNet.Path)

AVL.RescalePath(AvlNet.Path, float, bool, AvlNet.Path)

Translates each point of a path proportionally to its distance to a reference point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RescalePath(
	AvlNet.Path inPath,
	float inScale,
	bool inInverse,
	out AvlNet.Path outPath
)

Parameters

inPath
Type: AvlNet.Path
Input path
inScale
Type: System.Single
Scaling factor
inInverse
Type: System.Boolean
Switches to the inverse operation
outPath
Type: AvlNet.Path
Output path

See also