You are here: Start » AVL.NET » AVL.LineCircleIntersection Method

AVL.LineCircleIntersection Method

Computes common points of a circle and a line.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void LineCircleIntersection(
	AvlNet.Line2D inLine,
	AvlNet.Circle2D inCircle,
	out AvlNet.Point2D? outIntersectionPoint1,
	out AvlNet.Point2D? outIntersectionPoint2
)

Parameters

Name Type Range Default Description
inLineAvlNet.Line2D
inCircleAvlNet.Circle2D
outIntersectionPoint1AvlNet.Point2D?
outIntersectionPoint2AvlNet.Point2D?

Examples

LineCircleIntersection performed on line and circle.

Errors

Error type Description
DomainError Indefinite line on input in LineCircleIntersection.

See also