You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.RescalePointArray
Changes the distances of points from an array to a reference point.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RescalePointArray ( IList<FilNet.Point2D> inPoints, float inScale, bool inInverse, IList<FilNet.Point2D> outPoints )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.IList<FilNet.Point2D> | |||
![]() | inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | |
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outPoints | System.Collections.Generic.IList<FilNet.Point2D> |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Scale cannot be zero in an inverse rescaling of a point in RescalePointArray. |