src/linetypes/conditionaledge.cpp

changeset 1261
5d2c9d36da9d
parent 1242
725cb1084044
child 1269
ec691d9472b3
equal deleted inserted replaced
1260:0347e9bc883e 1261:5d2c9d36da9d
39 for (int i = 0; i < 4; ++i) 39 for (int i = 0; i < 4; ++i)
40 result += format(" %1", vertex(i)); 40 result += format(" %1", vertex(i));
41 41
42 return result; 42 return result;
43 } 43 }
44
45 void LDConditionalEdge::invert()
46 {
47 Vertex temp = vertex(0);
48 setVertex(0, vertex(1));
49 setVertex(1, temp);
50 }

mercurial