plane3d.intersect edit page

intersection of lines and planes

Syntax

v = intersect(plane,v1,v2)

Input

plane plane3d
v1 starting points of the lines
v2 final point of the lines
n normal direction of the planes
d distances of the plane, i.e. <x,n>=d

Output

v intersection points vector3d