You are here: Start » AVL.NET » AVL.RescalePathArray

AVL.RescalePathArray

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RescalePathArray
(
	AvlNet.Path[] inPaths,
	AvlNet.Point2D? inReferencePoint,
	float inScale,
	bool inInverse,
	out AvlNet.Path[] outPaths
)

Parameters

Name Type Range Default Description
inPathsAvlNet.Path[]
inReferencePointAvlNet.Point2D?The point to which all distances change linearly (the mass center by default). Default value: atl::NIL, or null.
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outPathsAvlNet.Path[]

See also