public void testTranspose() { IntersectionMatrix x = new IntersectionMatrix("012*TF012"); IntersectionMatrix i = new IntersectionMatrix(x); IntersectionMatrix j = i.transpose(); assertSame(i, j); assertEquals("0*01T12F2", i.toString()); assertEquals("012*TF012", x.toString()); }
IntersectionMatrix imBA = new IntersectionMatrix(im); imBA.transpose(); setRelateLabel(relateII, im.get(Location.INTERIOR, Location.INTERIOR)); setRelateLabel(relateIB, im.get(Location.INTERIOR, Location.BOUNDARY));