[ {'points':[10,20]}, {'points':[40,60]}, {'points':[70,80]} ]
[ {'points':[10,20],'与上一点间距':0}, {'points':[40,60], '与上一点间距':50} {'points':[70,80],'与上一点间距':36.05551275} ]
两点之间的距离不就是三角函数关系(a²+b²=c²)吗,在坐标系中随意点两点你就知道啦