// Self-Intersecting Curve
// CURVE(30 20, 10 50, 100 120, 100 70, 10 140)
ArrayList<Position> line1 = new ArrayList<Position>();
line1.add(new PositionImpl(tCoordFactory.createDirectPosition(new double[]{30, 20})));
line1.add(new PositionImpl(tCoordFactory.createDirectPosition(new double[]{10, 50})));
line1.add(new PositionImpl(tCoordFactory.createDirectPosition(new double[]{100, 120})));
ArrayList<Position> line2 = new ArrayList<Position>();
line2.add(new PositionImpl(tCoordFactory.createDirectPosition(new double[]{100, 120})));
line2.add(new PositionImpl(tCoordFactory.createDirectPosition(new double[]{100, 70})));
line2.add(new PositionImpl(tCoordFactory.createDirectPosition(new double[]{10, 140})));