Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Intersections » LineArcIntersection

LineArcIntersection


Computes the common points of an arc and a line.

Header:AVL.h

Syntax

C++
C#
 
void avl::LineArcIntersection
(
	const avl::Line2D& inLine,
	const avl::Arc2D& inArc,
	atl::Conditional<avl::Point2D>& outIntersectionPoint1,
	atl::Conditional<avl::Point2D>& outIntersectionPoint2
)

Parameters

Name Type Default Description
inLine const Line2D&
inArc const Arc2D&
outIntersectionPoint1 Conditional<Point2D>&
outIntersectionPoint2 Conditional<Point2D>&

Examples

LineArcIntersection performed on line and arc.

Errors

Error type Description
DomainError Indefinite line on input in LineArcIntersection.