interseclineplane
Determine the existance of the intersection between the line with the points P1, P2 and planewith points A,B and C on it. Function returns point of intersection if exist.Depending on input, function can return scalar, vector or matrix
Arguments
- Point P1 x-coordinate
- Point P1 y-coordinate
- Point P1 z-coordinate
- Point P2 x-coordinate
- Point P2 y-coordinate
- Point P2 z-coordinate
- Point A x-coordinate
- Point A y-coordinate
- Point A z-coordinate
- Point B x-coordinate
- Point B y-coordinate
- Point B z-coordinate
- Point C x-coordinate
- Point C y-coordinate
- Point C z-coordinate
Output
Results: 0 - line and plane are parallel; 1 - line lies in plane; point of intersection
Examples