private void replaceCollapsedEdges(){
  List newEdges=new ArrayList();
  for (Iterator it=edgeList.iterator(); it.hasNext(); ) {
    Edge e=(Edge)it.next();
    if (e.isCollapsed()) {
      it.remove();
      newEdges.add(e.getCollapsedEdge());
    }
  }
  edgeList.addAll(newEdges);
}

private void replaceCollapsedEdges ( ) { List newEdges = new ArrayList ( ) ; for ( Iterator it = edgeList . iterator ( ) ; it . hasNext ( ) ; ) { Edge e = ( Edge ) it . next ( ) ; if ( e . isCollapsed ( ) ) { it . remove ( ) ; newEdges . add ( e . getCollapsedEdge ( ) ) ; } } edgeList . addAll ( newEdges ) ; }
if edges which have undergone dimensional collapse are found , replace them with a new edge which is a l edge
