new Coordinate(18.0, 12.0), new Coordinate(18.0, 18.0), new Coordinate(12.0, 18.0),
new Coordinate(12.0, 12.0)});
geometries.add(factory.createPolygon(shell1, new LinearRing[] {hole1}));
LinearRing shell2 = factory.createLinearRing(new Coordinate[] {new Coordinate(5.0, 5.0),
new Coordinate(15.0, 5.0), new Coordinate(15.0, 25.0), new Coordinate(5.0, 25.0)});
geometries.add(factory.createPolygon(shell2, null));
}
@Test
public void testClosestPoint() {
SnappingAlgorithm algorithm = new ClosestPointAlgorithm(geometries, ruleDistance);