Back to FabImage Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Intersections » LineCircleIntersection

LineCircleIntersection
Header: | FIL.h |
---|---|
Namespace: | fil |
Computes common points of a circle and a line.
Syntax
void fil::LineCircleIntersection ( const fil::Line2D& inLine, const fil::Circle2D& inCircle, ftl::Conditional<fil::Point2D>& outIntersectionPoint1, ftl::Conditional<fil::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
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line on input in LineCircleIntersection. |