In $\mathbb R^3$ given a plane and a point belong to it, in this plane I have a rectangle determined by four vertices and want to check if the given point locates inside the rectangle
In 2D it's known that I can check that the point is located inside the rectangle by check the result of the dot product with lower line and the point, and upper line and the point, if the signs of to tow results is opposite then the point is inside the rectangle (and of course check the same in right and left lines of the rectangle), is the same thing correct in the 3D plane ?