//计算两点距离 -(float)distanceBetweenTwoPoint:(CGPoint)point1 point2:(CGPoint)point2 { return sqrtf(powf(point1.x - point2.x, ) + powf(point1.y - point2.y, )); }