You are here: Start » AVL.NET » AVL.TranslateLine Method
AVL.TranslateLine Method
Translates a line by a vector.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void TranslateLine( AvlNet.Line2D inLine, AvlNet.Vector2D inDelta, bool inInverse, out AvlNet.Line2D outLine )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inLine | AvlNet.Line2D | |||
![]() | inDelta | AvlNet.Vector2D | Vector of translation. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outLine | AvlNet.Line2D |
Examples
![]() |
![]() |
TranslateLine performed on the sample line, inDelta = (200.0, 50.0) and inInverse = False.
Errors
Error type | Description |
---|---|
DomainError | Indefinite line on input in TranslateLine. |