Function: linePlaneIntersection()
linePlaneIntersection(
p0,p1,plane):Point3
It calculates the intersection of a line and a plane. Plane equation is Ax+By+Cz=D
Parameters
• p0: Point3
[x,y,z] of the first point of the line
• p1: Point3
[x,y,z] of the second point of the line
• plane: Plane
[A, B, C, D] Plane parameter: Ax+By+Cz=D
Returns
- [X,Y,Z] coordinates of the intersection