Exemple #1
0
		public static double GetDistance(MyPoint p1, MyPoint p2)
		{
			return Math.Sqrt(Math.Pow((p1.X - p2.X), 2) + Math.Pow((p1.Y - p2.Y), 2));
		}