Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Intersections » LineCircleIntersection
LineCircleIntersection
Computes common points of a circle and a line.
Syntax
C++
C#
void avl::LineCircleIntersection ( const avl::Line2D& inLine, const avl::Circle2D& inCircle, atl::Conditional<avl::Point2D>& outIntersectionPoint1, atl::Conditional<avl::Point2D>& outIntersectionPoint2 )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inLine | const Line2D& | ||
![]() |
inCircle | const Circle2D& | ||
![]() |
outIntersectionPoint1 | Conditional<Point2D>& | ||
![]() |
outIntersectionPoint2 | Conditional<Point2D>& |
Examples
![]() |
![]() |
LineCircleIntersection performed on line and circle.
Errors
| Error type | Description |
|---|---|
| DomainError | Indefinite line on input in LineCircleIntersection. |




