All pastes #2091744 Raw Edit

Miscellany

public text v1 · immutable
#2091744 ·published 2011-10-20 12:01 UTC
rendered paste body
	// ff checken of de cirkels overlapen 
       public boolean overlapt ( Cirkel that )  {
              if ( straal > 0 ) {
                double afstand = this.getMiddelpunt().afstand( that.getMiddelpunt() );
                if ( afstand <= ( this.getStraal() + that.getStraal () ) ) {
                   return true;
                }
              }
              return false;
       }