Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Features » LineNormalVector
Computes the normal vector of a line
Syntax
C++
C#
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. |




