You are here: Start » AVL.NET » Function Reference » Path » Path Spatial Transforms » AVL.RescalePath

AVL.RescalePath

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RescalePath
(
	AvlNet.Path inPath,
	AvlNet.Point2D? inReferencePoint,
	float inScale,
	bool inInverse,
	AvlNet.Path outPath
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
inReferencePointAvlNet.Point2D?The point to which all distances change linearly (the mass center by default). Default value: atl::NIL.
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outPathAvlNet.PathOutput path.

Function Overrides

See also