Files
RCBASIC4/doc/doc_files/getcirclelineintersection.html
2026-02-26 15:33:51 -06:00

21 lines
712 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>GetCircleLineIntersection [RCBasic Doc] </title>
</head>
<body>
<p><h2>Function GetCircleLineIntersection(circle_x, circle_y, radius, x1, y1, x2, y2, ByRef ix1, ByRef iy1, ByRef ix2, ByRef iy2) </h2></p>
<p>
Calculates the points where a circle and line intersect and stores the intersection points in (ix1, iy1) and (ix2, iy2)
</p>
<p>
NOTE: This function returns 0 if there is no intersection and 1 or 2 if there is 1 or 2 intersection points. If it only returns 1 then only (ix1, iy1) will be set.
</p>
<p>
</p>
</body>
</html>