You are here: Start » AVL.NET » AVL.RescaleSegment3D
Lengthens or shortens a segment in 3D relatively.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RescaleSegment3D ( AvlNet.Segment3D inSegment3D, float inScale, bool inInverse, out AvlNet.Segment3D outSegment3D )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inSegment3D | AvlNet.Segment3D | Input segment in 3D. | ||
![]() | inScale | float | 1.0f | Scaling factor (negative values invert the segment). Default value: 1.0f. | |
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outSegment3D | AvlNet.Segment3D |


