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