I have managed to calculate where a line intersects a plane by substituting the parametric equations of a line into the equation of a plane.
If a plane can be defined as infinite and a line must intersect the plane at some point unless paralell to the line and not colinear, how can you determine if a point of intersection lies within the visible defined boundaries of the plane?
You want the point to be in the interior of one pair of opposite angle.
Example suppose that is a convex quadrilateral.
Then are opposite angles.
So the point should be in the interior of both angles.