added methods to IPolygon and IRing. refactor PointTest.