You are here: Start » AVL.NET » AVL.LineOrientation(AvlNet.Line2D, float)
AVL.LineOrientation(AvlNet.Line2D, float)
Computes the orientation angle of a line as angle in the range from 0 to 180.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void LineOrientation( AvlNet.Line2D inLine, out float outOrientationAngle )
Parameters
- inLine
- Type: AvlNet.Line2D
- outOrientationAngle
- Type: System.Single
Examples
![]() |
LineOrientation performed on a line.
The outOrientationAngle in this case returns a value of 45.
Errors
| Error type | Description |
|---|---|
| DomainError | Indefinite line on input in LineOrientation. |

