public void addSplitEdges(List edgeList){
  addEndpoints();
  Iterator it=iterator();
  EdgeIntersection eiPrev=(EdgeIntersection)it.next();
  while (it.hasNext()) {
    EdgeIntersection ei=(EdgeIntersection)it.next();
    Edge newEdge=createSplitEdge(eiPrev,ei);
    edgeList.add(newEdge);
    eiPrev=ei;
  }
}

public void addSplitEdges ( List edgeList ) { addEndpoints ( ) ; Iterator it = iterator ( ) ; EdgeIntersection eiPrev = ( EdgeIntersection ) it . next ( ) ; while ( it . hasNext ( ) ) { EdgeIntersection ei = ( EdgeIntersection ) it . next ( ) ; Edge newEdge = createSplitEdge ( eiPrev , ei ) ; edgeList . add ( newEdge ) ; eiPrev = ei ; } }
creates new edges for all the edges that the intersections in this list split the parent edge into . adds the edges to the input list ( this is so a single list can be used to accumulate all split edges for a geometry ) .
