protected void processIntersectionsRemoveHorizontal ( ) { for ( Iterator < Separator > hit = hsep . iterator ( ) ; hit . hasNext ( ) ; ) { Separator hs = hit . next ( ) ; for ( Separator vs : vsep ) { if ( hs . intersects ( vs ) ) { hit . remove ( ) ; break ; } } } }
Processes the separators so that they do not intersect . The vertical separators are left untouched the horizontal separators are removed when they intersect with a vertical one .