pnp function

Check if a point is within a polygon (2D)