public double Distance(SimplePoint simplePoint) { return(Math.Sqrt(Math.Pow(m_x - simplePoint.m_x, 2) + Math.Pow(m_y - simplePoint.m_y, 2))); }
public bool IsTheSame(SimplePoint otherPoint, double deltaPixels) { return(Distance(otherPoint) < deltaPixels); }
public SimplePoint(SimplePoint otherPoint) { m_x = otherPoint.X; m_y = otherPoint.Y; }