addCorner(Corner.RIGHTBOTTOM);
addCorner(Corner.RIGHTTOP);
}
private void addCorner(Corner corner) {
IOrthItem acorner = GeometricHelper.getAbstractCorner(sg, corner);
SimpleVertex rcorner1 = GeometricHelper.getRealCorner(sg, corner, true);
if (!CompactionHelper.equalsOrth(acorner, rcorner1)) {
SimpleVertex rcorner2 = GeometricHelper.getRealCorner(sg, corner, false);
SimpleVertex v = new SimpleVertex();
v.setProperty(CORNER_KEY, FICTIVE_VALUE);
v.setOrthX(acorner.getOrthX());
v.setOrthY(acorner.getOrthY());
SimpleEdge e1 = new SimpleEdge(rcorner1, v);
e1.setProperty(FICTIVE_KEY, FICTIVE_VALUE);
SimpleEdge e2 = new SimpleEdge(v, rcorner2);