private void rejectLoop(List<S2Point> v,int n,List<S2Edge> unusedEdges){
  for (int i=n - 1, j=0; j < n; i=j++) {
    unusedEdges.add(new S2Edge(v.get(i),v.get(j)));
  }
}

private void rejectLoop ( List < S2Point > v , int n , List < S2Edge > unusedEdges ) { for ( int i = n - 1 , j = 0 ; j < n ; i = j ++ ) { unusedEdges . add ( new S2Edge ( v . get ( i ) , v . get ( j ) ) ) ; } }
erases all edges of the given loop and marks them as unused .
