Working intersection tests against polygons.