public void findResultEdges(){
  for (Iterator it=dirEdgeList.iterator(); it.hasNext(); ) {
    DirectedEdge de=(DirectedEdge)it.next();
    if (de.getDepth(Position.RIGHT) >= 1 && de.getDepth(Position.LEFT) <= 0 && !de.isInteriorAreaEdge()) {
      de.setInResult(true);
    }
  }
}

public void findResultEdges ( ) { for ( Iterator it = dirEdgeList . iterator ( ) ; it . hasNext ( ) ; ) { DirectedEdge de = ( DirectedEdge ) it . next ( ) ; if ( de . getDepth ( Position . RIGHT ) >= 1 && de . getDepth ( Position . LEFT ) <= 0 && ! de . isInteriorAreaEdge ( ) ) { de . setInResult ( true ) ; } } }
find all edges whose depths indicates that they are in the result area ( s ) . since we want polygon shells to be oriented cw , choose diredges with the interior of the result on the rhs . mark them as being in the result . interior area edges are the result of dimensional collapses . they do not form part of the result area boundary .
