Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Intersections » SegmentCircleIntersection
![](../../img/icon/CircleIntersection.png)
SegmentCircleIntersection
Computes the common points of a circle and a segment.
Syntax
C++
C#
void avl::SegmentCircleIntersection ( const avl::Segment2D& inSegment, const avl::Circle2D& inCircle, atl::Conditional<avl::Point2D>& outIntersectionPoint1, atl::Conditional<avl::Point2D>& outIntersectionPoint2 )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inSegment | const Segment2D& | ||
![]() |
inCircle | const Circle2D& | ||
![]() |
outIntersectionPoint1 | Conditional<Point2D>& | ||
![]() |
outIntersectionPoint2 | Conditional<Point2D>& |
Examples
![]() |
![]() |
SegmentCircleIntersection performed on segment and circle.