You are here: Start » AVL.NET » AVL.LineNormalVector
Computes the normal vector of a line
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void LineNormalVector ( AvlNet.Line2D inLine, bool inReverse, out AvlNet.Vector2D outVector )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inLine | AvlNet.Line2D | |||
![]() | inReverse | bool | True | Default value: True. | |
![]() | outVector | AvlNet.Vector2D |
Examples
![]() |
![]() |
LineNormalVector performed on a line (left image) returns outVector (right image).
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Indefinite line on input in LineNormalVector. |




