|
stores the result in "intersection_point" which is valid in all cases
pt1 and pt2 are two points on a line
return value:
YES if pt1 and pt2 are in different sides of the plane
in this case intersection_point will be the expected intersection point
NO if pt1 and pt2 are on the same side of the plane
in this case intersection_point will be the intersection point if the infinite line that contains p1 and p2
NO if the line is on the plane.
In this case the intersection point will be pt1
YES, If one edge of the segment is on the plane (and the other one is not).
|