Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Angle Metrics » AngleBetweenLines
AngleBetweenLines
Measures the smaller and the larger angle between two lines.
Syntax
C++
C#
void avl::AngleBetweenLines ( const avl::Line2D& inLine1, const avl::Line2D& inLine2, atl::Optional<atl::real&> outSmallerAngle, atl::Optional<atl::real&> outLargerAngle = atl::NIL )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inLine1 | const Line2D& | ||
![]() |
inLine2 | const Line2D& | ||
![]() |
outSmallerAngle | Optional<real&> | ||
![]() |
outLargerAngle | Optional<real&> | NIL |
Examples

Errors
| Error type | Description |
|---|---|
| DomainError | Indefinite line on input in AngleBetweenLines. |


