public Double Distance(Coordinate other) { Double x2 = Math.Pow(m_x - other.X, 2.0); Double y2 = Math.Pow(m_y - other.Y, 2.0); Double distance = Math.Sqrt(x2 + y2); return distance; }