return !result.isEmpty( );
boolean started = false; boolean diff = false, oldDiff = false;  for ( Iterator itr = pg2.getPoints( ).iterator( ); itr.hasNext( ); ) { Point pt = (Point) itr.next( );  diff = pg1.contains( pt );  if ( !started ) { started = true; oldDiff = diff; }  if ( diff != oldDiff ) { return true; }  oldDiff = diff; }  if ( diff ) { return true; }  if ( pg1.getPoints( ).size( ) > 0 ) { return pg2.contains( pg1.getPoint( 0 ) ); }  return false;
	public static boolean intersects( IPolygon pg1, IPolygon pg2 )	{		IPolygon result = Clip.intersection( pg1, pg2 );		return !result.isEmpty( );	}