Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Intersections » LineLineIntersection
Computes a common point of two lines.
Syntax
C++
C#
void avl::LineLineIntersection ( const avl::Line2D& inLine1, const avl::Line2D& inLine2, atl::Conditional<avl::Point2D>& outIntersectionPoint )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inLine1 | const Line2D& | ||
![]() |
inLine2 | const Line2D& | ||
![]() |
outIntersectionPoint | Conditional<Point2D>& |
Examples
![]() |
![]() |
LineLineIntersection performed on two lines.
Errors
| Error type | Description |
|---|---|
| DomainError | Indefinite line on input in LineLineIntersection. |




