// -------------------------------------------------------------------------
// Constructor
// -------------------------------------------------------------------------
public RemoveCoordinateTest() {
GeometryFactory factory = new GeometryFactory(SRID, PRECISION);
lineString = factory.createLineString(new Coordinate[] {new Coordinate(10.0, 10.0),
new Coordinate(20.0, 10.0), new Coordinate(20.0, 20.0), new Coordinate(30.0, 30.0)});
multiLineString = factory.createMultiLineString(new LineString[] {(LineString) lineString.clone()});
LinearRing exteriorRing = factory.createLinearRing(new Coordinate[] {new Coordinate(0.0, 0.0),
new Coordinate(100.0, 0.0), new Coordinate(100.0, 100.0), new Coordinate(0.0, 100.0)});
LinearRing interiorRing1 = factory.createLinearRing(new Coordinate[] {new Coordinate(20.0, 20.0),
new Coordinate(40.0, 20.0), new Coordinate(40.0, 40.0), new Coordinate(20.0, 40.0)});
LinearRing interiorRing2 = factory.createLinearRing(new Coordinate[] {new Coordinate(60.0, 60.0),
new Coordinate(80.0, 60.0), new Coordinate(80.0, 80.0), new Coordinate(60.0, 80.0)});
polygon = factory.createPolygon(exteriorRing, new LinearRing[] {interiorRing1, interiorRing2});
multiPolygon = factory.createMultiPolygon(new Polygon[] {(Polygon) polygon.clone()});
index = new TransactionGeomIndex();
index.setCoordinateIndex(2);
index.setGeometryIndex(0);
index.setInteriorRingIndex(0);