You are here: Start » AVL.NET » AVL.RescalePathArray(AvlNet.Path[], AvlNet.Point2D?, float, bool, AvlNet.Path[])

AVL.RescalePathArray(AvlNet.Path[], AvlNet.Point2D?, float, bool, AvlNet.Path[])

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


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

Parameters

inPaths
Type: AvlNet.Path
inReferencePoint
Type: System.Nullable<AvlNet.Point2D>
The point to which all distances change linearly (the mass center by default), or null.
inScale
Type: System.Single
Scaling factor
inInverse
Type: System.Boolean
Switches to the inverse operation
outPaths
Type: AvlNet.Path

See also