You are here: Start » AVL.NET » Invoke.RescalePointArray
Changes the distances of points from an array to a reference point.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void RescalePointArray ( List<Avl.Point2D> inPoints, Optional<Avl.Point2D> inReferencePoint, float inScale, bool inInverse, List<Avl.Point2D> outPoints )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.List<Avl.Point2D> | |||
![]() | inReferencePoint | Atl.Optional<Avl.Point2D> | Point to which the distances will be changed (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. | ||
![]() | outPoints | System.Collections.Generic.List<Avl.Point2D> |