<-Back

Function: Inter-Line-Plane

INTER-LINE-PLANE 3d point or nil

Returns one point of intersection between line described by point p-line and direction-vector u-line, and plane described by p-plane and u-plane. Iff the line and plane do not intersect at all (i.e. they are parallel), NIL is returned.

arguments:
p-line 3D Point
Any point on the line
u-line 3D Vector
Direction of the line
p-plane 3D Point
Any point on the plane
u-plane 3D Vector
Normal of the plane

<-Back