Back to Adaptive Vision Library website
 
                
                    
	
		
	You are here: Start » Function Reference » Geometry 2D Features » LineOrientation
Computes the orientation angle of a line as angle in the range from 0 to 180.
Syntax
C++
C#
void avl::LineOrientation ( const avl::Line2D& inLine, float& outOrientationAngle )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
|  | inLine | const Line2D& | ||
|  | outOrientationAngle | float& | 
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. | 

 
 
