@Test
public void testGetIM() {
WktReader wkt = new WktReader();
Geometry g = wkt.read("LINESTRING(1 1,1 2,2 2,3 2)");
LineString ls = (LineString) g;
Geometry g2 = wkt.read("LINESTRING(1 2,2 2,3 2,4 2)");
LineString ls2 = (LineString) g2;
Geometry g3 = wkt.read("LINESTRING(1 2,2 2,3 2)");
LineString ls3 = (LineString) g3;
Geometry g4 = wkt.read("LINESTRING(2 0,2 2,3 3)");
LineString ls4 = (LineString) g4;
IntersectionMatrix rt = ComputeImFactory.getInstance().getImComputer(
ls, ls2).getIM();
// LineString_LineString l2l = new LineString_LineString(ls, ls2);
// IntersectionMatrix rt = l2l.getIM();