You are here: Start » AVL.NET » Invoke.RescaleLine
Changes the distance of a line to a reference point.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void RescaleLine ( Avl.Line2D inLine, Avl.Point2D inReferencePoint, float inScale, bool inInverse, out Avl.Line2D outLine )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inLine | Avl.Line2D | |||
![]() | inReferencePoint | Avl.Point2D | The point to which all distances change linearly. | ||
![]() | inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | |
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outLine | Avl.Line2D |