/// <summary> /// /// </summary> /// <param name="geom"></param> /// <param name="distanceTolerance"></param> /// <returns></returns> public static IGeometry Simplify(IGeometry geom, double distanceTolerance) { DouglasPeuckerSimplifier tss = new DouglasPeuckerSimplifier(geom); tss.DistanceTolerance = distanceTolerance; return(tss.GetResultGeometry()); }
/// <summary> /// /// </summary> /// <param name="container"></param> public DPTransformer(DouglasPeuckerSimplifier container) { this.container = container; }
/// <summary> /// /// </summary> /// <param name="container"></param> public DPTransformer(DouglasPeuckerSimplifier container) { this.container = container; }
/// <summary> /// /// </summary> /// <param name="geom"></param> /// <param name="distanceTolerance"></param> /// <returns></returns> public static IGeometry Simplify(IGeometry geom, double distanceTolerance) { DouglasPeuckerSimplifier tss = new DouglasPeuckerSimplifier(geom); tss.DistanceTolerance = distanceTolerance; return tss.GetResultGeometry(); }