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