Point-In-Polyhedron Test (2D and 3D)