public void markNeighborEdges ( ) { for ( int i = 0 ; i < 3 ; i ++ ) { if ( cEdge [ i ] ) { switch ( i ) { case 0 : if ( neighbors [ 0 ] != null ) neighbors [ 0 ] . markConstrainedEdge ( points [ 1 ] , points [ 2 ] ) ; break ; case 1 : if ( neighbors [ 1 ] != null ) neighbors [ 1 ] . markConstrainedEdge ( points [ 0 ] , points [ 2 ] ) ; break ; case 2 : if ( neighbors [ 2 ] != null ) neighbors [ 2 ] . markConstrainedEdge ( points [ 0 ] , points [ 1 ] ) ; break ; } } } }
Finalize edge marking