question: public int removeViewpoints ( int [ ] indices ) { for ( int i = indices . length - 1 ; i >= 0 ; -- i ) viewpointList . remove ( indices [ i ] ) ; viewpointIndex = indices [ 0 ] - 1 ; if ( viewpointList . size ( ) == 0 ) { viewpointIndex = - 1 ; } else if ( viewpointIndex < 0 ) { viewpointIndex = viewpointList . size ( ) - 1 ; } return ( viewpointIndex ) ; }
target:  Remove a viewpoint from the list