Back to Adaptive Vision Library Lite website
You are here: Start » Geometry 2D Features » LineNormalVector
LineNormalVector
Computes the normal vector of a line
Syntax
void avl::LineNormalVector ( const avl::Line2D& inLine, avl::Vector2D& outVector )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inLine | const Line2D& | ||
![]() |
outVector | Vector2D& |
Examples
![]() |
![]() |
LineNormalVector performed on a line (left image) returns outVector (right image).
Errors
| Error type | Description |
|---|---|
| DomainError | Indefinite line on input in LineNormalVector. |




