/// <summary> /// Removes duplicated points in the collection. /// </summary> /// <param name="pts">The instance to which the method applies.</param> public static void RemoveDuplicate(this Point2dCollection pts) { pts.RemoveDuplicate(Tolerance.Global); }