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