Back to FabImage Library Lite website
You are here: Start » Geometry 2D Intersections » LineLineIntersection
LineLineIntersection
Computes a common point of two lines.
Syntax
void fil::LineLineIntersection ( const fil::Line2D& inLine1, const fil::Line2D& inLine2, ftl::Conditional<fil::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. |




