- Feb 25, 2004
- 21,756
- 600
- 126
I have a plane, a polygon really. I know the coordinates of all the vertices. And the normal of the polygon. And I have the coordinates of a point. How can I tell which side of the plane of the polygon the point is on.
The broader implication if you're interested is that I need to determine if a point is within a sector. (A 3d shape made out of non-concave polygons) I figured that if I iterated through all the faces/sides of the shape, if the point was on the interior facing side of all of them that I could determine that it was inside the shape. If it was not, it was outside of it.
The broader implication if you're interested is that I need to determine if a point is within a sector. (A 3d shape made out of non-concave polygons) I figured that if I iterated through all the faces/sides of the shape, if the point was on the interior facing side of all of them that I could determine that it was inside the shape. If it was not, it was outside of it.