//两点之间的距离
double GetDistance (Point point1,Point point2 )
{
double distance;
distance = Math.Pow((point1.x - point2.x),2) + Math.Pow((point1.y - point2.y),2);
distance = Math.Sqrt(distance);
return distance;
}
double GetDistance (Point point1,Point point2 )
{
double distance;
distance = Math.Pow((point1.x - point2.x),2) + Math.Pow((point1.y - point2.y),2);
distance = Math.Sqrt(distance);
return distance;
}