intersectionPlaneLine2

intersectionPlaneLine2()
intersectionPlaneLine2(lineBegin: Point3, lineEnd: Point3, plane: Plane, out_intersectionPoint: Point3): boolean

Computes the intersection of a line segment and a plane.

Parameters

lineBegin: Point3

The start point of the line segment to intersect.

lineEnd: Point3

The end point of the line segment to intersect.

plane: Plane

The plane to intersect.

out_intersectionPoint: Point3

The out parameter for the point of intersection if one exists.

Returns: boolean

True if the line segment and plane intersect. False otherwise.