}
@Test
public void testHoleIntersections() throws Exception {
EditGeom polygon = bb.newGeom("line", ShapeType.POLYGON); //$NON-NLS-1$
PrimitiveShape shell = polygon.getShell();
bb.addPoint(10, 10, shell);
bb.addPoint(20, 10, shell);
bb.addPoint(20, 20, shell);
bb.addPoint(10, 20, shell);
bb.addPoint(10, 10, shell);
PrimitiveShape hole = polygon.newHole();
bb.addPoint(13, 12, hole);
bb.addPoint(18, 12, hole);
bb.addPoint(18, 18, hole);
bb.addPoint(13, 12, hole);
PrimitiveShape hole2 = polygon.newHole();
bb.addPoint(15, 15, hole2);
bb.addPoint(19, 15, hole2);
bb.addPoint(19, 19, hole2);
bb.addPoint(15, 15, hole2);