model.h: big getDistanceTo* methods were moved to *.cpp