You are here: Start » FIL.NET » FIL.RescalePathArray
Translates each point of each path proportionally to its distance to a reference point.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RescalePathArray ( IList<FilNet.Path> inPaths, FilNet.Point2D? inReferencePoint, float inScale, bool inInverse, IList<FilNet.Path> outPaths )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPaths | System.Collections.Generic.IList<FilNet.Path> | |||
![]() | inReferencePoint | FilNet.Point2D? | The point to which all distances change linearly (the mass center by default). Default value: ftl::NIL. | ||
![]() | inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | |
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outPaths | System.Collections.Generic.IList<FilNet.Path> |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Reference point cannot be computed in RescalePathArray. |