You are here: Start » AVL.NET » AVS.RescalePathArray Method
AVS.RescalePathArray Method
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 ( IList<AvlNet.Path> inPaths, AvlNet.Point2D? inReferencePoint, float inScale, bool inInverse, IList<AvlNet.Path> outPaths )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPaths | System.Collections.Generic.IList<AvlNet.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. | ||
![]() | outPaths | System.Collections.Generic.IList<AvlNet.Path> |