Files
RCBASIC4/doc/files/getlineplaneintersection.html
2024-12-14 15:28:03 -05:00

40 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>GetLinePlaneIntersection [RCBasic Doc] </title>
</head>
<body>
<p><h2>function GetLinePlaneIntersection(ByRef line_point, ByRef line_direction, ByRef plane_point_1, ByRef plane_point_2, ByRef plane_point_3, ByRef intersection) </h2></p>
<p>
This function calculates the intersection between a line and a plane in 3D space and stores the result in intersection
</p>
<p>
Parameters:
</p>
<ul>
<li>
line_point - An array with an (x,y,z) point representing the start of a line
</li>
<li>
line_direction - An array with an (x,y,z) point representing another point on the line in the direction its moving
</li>
<li>
plane_point_1 - An array with an (x,y,z) point representing a point on a plane in 3D space
</li>
<li>
plane_point_2 - An array with an (x,y,z) point representing a point on a plane in 3D space
</li>
<li>
plane_point_3 - An array with an (x,y,z) point representing a point on a plane in 3D space
</li>
</ul>
<p>
Returns true if intersection point is on the plane
</p>
<p>
</body>
</html>