Logo Search packages:      
Sourcecode: wims version File versions

boolean geo::pt::zone ( int  X,
int  Y 
) [inline]

teste si la souris est proche du point libre, retourne alors deplace = true

Reimplemented from geo::ObjetRepere.

Reimplemented in geo::pointlibre.

Definition at line 139 of file pt.java.

  { return ((X >=  this.X - 2) && (X <= this.X + 2) && (Y >= this.Y - 2) && (Y <= this.Y + 2)) ; }


Generated by  Doxygen 1.6.0   Back to index