/// <summary>
        ///
        /// </summary>
        /// <param name="pts"></param>
        /// <param name="distanceTolerance"></param>
        /// <returns></returns>
        public static IList <Coordinate> Simplify(IList <Coordinate> pts, double distanceTolerance)
        {
            DouglasPeuckerLineSimplifier simp = new DouglasPeuckerLineSimplifier(pts);

            simp._distanceTolerance = distanceTolerance;
            return(simp.Simplify());
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="pts"></param>
 /// <param name="distanceTolerance"></param>
 /// <returns></returns>
 public static IList<Coordinate> Simplify(IList<Coordinate> pts, double distanceTolerance)
 {
     DouglasPeuckerLineSimplifier simp = new DouglasPeuckerLineSimplifier(pts);
     simp._distanceTolerance = distanceTolerance;
     return simp.Simplify();
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="coords"></param>
 /// <param name="parent"></param>
 /// <returns></returns>
 protected override IList <Coordinate> TransformCoordinates(IList <Coordinate> coords, IGeometry parent)
 {
     return(DouglasPeuckerLineSimplifier.Simplify(coords, _container.DistanceTolerance));
 }