Back to Aurora Vision Library Lite website

You are here: Start » Geometry 2D » Geometry 2D Intersections » LineCircleIntersection

LineCircleIntersection


Header: AVL.h
Namespace: avl

Computes common points of a circle and a line.

Syntax

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
Input value inLine const Line2D&
Input value inCircle const Circle2D&
Output value outIntersectionPoint1 Conditional<Point2D>&
Output value 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.