public bool IsSelected(PointF point, int accuracy)
        {
            PointF prevP = Points[0];

            foreach (PointF p in Points)
            {
                if (CoordinateRoutines.Contains(prevP, p, point, accuracy))
                {
                    return(true);
                }
                prevP = p;
            }
            return(false);
        }
 public bool Contains(PointF startPoint, PointF endPoint, PointF point, int accuracy)
 {
     return(CoordinateRoutines.Contains(startPoint, endPoint, point, accuracy));
 }