You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.TranslateLine
Translates a line by a vector.
| Namespace: | FilNet |
|---|---|
| Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void TranslateLine ( FilNet.Line2D inLine, FilNet.Vector2D inDelta, bool inInverse, FilNet.TranslateAlignment inDeltaAlignment, out FilNet.Line2D outLine )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inLine | FilNet.Line2D | |||
![]() | inDelta | FilNet.Vector2D | Vector of translation. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | inDeltaAlignment | FilNet.TranslateAlignment | |||
![]() | outLine | FilNet.Line2D |
Examples
![]() |
![]() |
TranslateLine performed on the sample line, inDelta = (200.0, 50.0) and inInverse = False.
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Indefinite line on input in TranslateLine. |




