interLinePlane()

Synopsis

Returns the point of intersection between an infinite line and an infinite plane defined by respective points and vectors . An error is signaled if the line is parallel to the plane. Returns the point of intersection.

Syntax

interLinePlane ( linePoint As Point, _
                 lineDir As Vector, _
                 planePoint As Point, _
                 planeNormal As Vector ) As Point 
Argument Type Description
linePoint Point Point on the line to intersect.
lineDir Vector Direction of the line.
planePoint Point Point on the plane to intersect.
planeNormal Vector Normal vector of the plane.

Example 1

Intent >interLinePlane(point(2,2,0), vector(1,3,0), point(0,0,0), vector(1,0,0)) 
--> Point_(0.0, -4.0, 0.0, WorldFrame()) 
This is the point where the line crosses the YZ plane.