You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
inPath | AvlNet.Path | Input path. | |||
inReferencePoint | AvlNet.Point2D? | The point to which all distances change linearly (the mass center by default). Default value: atl::NIL. | |||
inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | ||
inInverse | bool | Switches to the inverse operation. | |||
outPath | AvlNet.Path | Output path. |