You are here: Start » AVL.NET » AVL.RescaleSegment
Lengthens or shortens a segment relatively.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RescaleSegment ( AvlNet.Segment2D inSegment, float inScale, bool inInverse, out AvlNet.Segment2D outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSegment | AvlNet.Segment2D | ||||
inScale | float | 1.0f | Scaling factor (negative values invert the segment). Default value: 1.0f. | ||
inInverse | bool | Switches to the inverse operation. | |||
outSegment | AvlNet.Segment2D |