You are here: Start » AVL.NET » AVS.RescaleLine Method
AVS.RescaleLine Method
Changes the distance of a line to a reference point.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void RescaleLine ( AvlNet.Line2D inLine, AvlNet.Point2D inReferencePoint, float inScale, bool inInverse, out AvlNet.Line2D outLine )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inLine | AvlNet.Line2D | ||||
inReferencePoint | AvlNet.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 | AvlNet.Line2D |