Example #1
0
 /**
  * Calculates distance from associated mote to another mote.
  *
  * @param m Another mote
  * @return Distance
  */
 public double getDistanceTo(Mote m) {
   return getDistanceTo(m.getInterfaces().getPosition());
 }
Example #2
0
 public Position getPosition() {
   return mote.getInterfaces().getPosition();
 }