Jump to content

Find the intersection of a line with a plane: Difference between revisions

m
→‎{{header|REXX}}: disclaimer for line being parallel to or within the plane
(add REXX)
m (→‎{{header|REXX}}: disclaimer for line being parallel to or within the plane)
Line 103:
 
=={{header|REXX}}==
This program does NOT handle the case when the line is parallel to or within the plane.
<lang rexx>/* REXX */
Parse Value '0 0 1' With n.1 n.2 n.3 /* Normal Vector of the plane */
Line 124 ⟶ 125:
{{out}}
<pre>0*x + 0*y + 1*z = 5
Intersection: P(0,-5,5)</pre>
 
=={{header|Sidef}}==
2,301

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.