You are here: Start » AVL.NET » AVL.TranslateLine(AvlNet.Line2D, AvlNet.Vector2D, bool, AvlNet.Line2D)
AVL.TranslateLine(AvlNet.Line2D, AvlNet.Vector2D, bool, AvlNet.Line2D)
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
- inLine
- Type: AvlNet.Line2D
- inDelta
- Type: AvlNet.Vector2D
Vector of translation - inInverse
- Type: System.Boolean
Switches to the inverse operation - outLine
- Type: 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. |


