private void checkInteriorIntersections(){
  for (Iterator i=segStrings.iterator(); i.hasNext(); ) {
    SegmentString ss0=(SegmentString)i.next();
    for (Iterator j=segStrings.iterator(); j.hasNext(); ) {
      SegmentString ss1=(SegmentString)j.next();
      checkInteriorIntersections(ss0,ss1);
    }
  }
}

private void checkInteriorIntersections ( ) { for ( Iterator i = segStrings . iterator ( ) ; i . hasNext ( ) ; ) { SegmentString ss0 = ( SegmentString ) i . next ( ) ; for ( Iterator j = segStrings . iterator ( ) ; j . hasNext ( ) ; ) { SegmentString ss1 = ( SegmentString ) j . next ( ) ; checkInteriorIntersections ( ss0 , ss1 ) ; } } }
checks all pairs of segments for intersections at an interior point of a segment
