You are here: Start » AVL.NET » Function Reference » Path » Path Spatial Transforms » 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 ( IList<AvlNet.Path> inPaths, float inScale, bool inInverse, IList<AvlNet.Path> outPaths )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inPaths | System.Collections.Generic.IList<AvlNet.Path> | |||
![]() | inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | |
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outPaths | System.Collections.Generic.IList<AvlNet.Path> |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Reference point cannot be computed in RescalePathArray. |


