add by rick

1.SQRT(POWER(a.X-b.X,2)+POWER(a.Y-b.Y,2)) as distant