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

Content deleted Content added
m →‎{{header|zkl}}: added comment
Line 84:
w:=line.pt.zipWith('-,plane.pt); # difference between P0 and V0
si:=-dotP(plane.normal,w)/cos; # line segment where it intersets the plane
# point where line intersects the plane:
w.zipWith('+,line.ray.apply('*,si)).zipWith('+,plane.pt);
}</lang>