public TopologyPreservingSimplifier(Geometry inputGeom,
                                            double tolerance)
        {
            if (tolerance < 0.0)
            {
                throw new ArgumentException("Tolerance must be non-negative");
            }

            this.lineSimplifier = new TaggedLinesSimplifier(tolerance);
            this.inputGeom      = inputGeom;
        }
 public TopologyPreservingSimplifier(Geometry inputGeom)
 {
     this.lineSimplifier = new TaggedLinesSimplifier();
     this.inputGeom      = inputGeom;
 }