Add point-in-polygon test for 2D polygon clipping.