Public feed #2091744

Miscellany

public text v1 · immutable
Raw Edit
·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;
       }