Back to Adaptive Vision Library Lite website
You are here: Start » Geometry 2D Intersections » LineLineIntersection
![](../../img/icon/LineLineIntersection.png)
LineLineIntersection
Computes a common point of two lines.
Syntax
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. |