You are here: Start » AVL.NET » Invoke.RescalePoint
Changes the distance of a point to a reference point.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void RescalePoint ( Avl.Point2D inPoint, Avl.Point2D inReferencePoint, float inScale, bool inInverse, out Avl.Point2D outPoint )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoint | Avl.Point2D | |||
![]() | inReferencePoint | Avl.Point2D | Point to which the distance will be changed. | ||
![]() | inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | |
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outPoint | Avl.Point2D |