You are here: Start » AVL.NET » AVL.TranslateLine
Translates a line by a vector.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void TranslateLine ( AvlNet.Line2D inLine, AvlNet.Vector2D inDelta, bool inInverse, AvlNet.TranslateAlignment inDeltaAlignment, 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. | |||
inDeltaAlignment | AvlNet.TranslateAlignment | ||||
outLine | AvlNet.Line2D |
Examples
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line on input in TranslateLine. |