public static Geometry Simplify(Geometry geom, double tolerance)
        {
            TopologyPreservingSimplifier tss =
                new TopologyPreservingSimplifier(geom, tolerance);

            return(tss.Simplify());
        }
            public LineStringMapBuilderFilter(
                TopologyPreservingSimplifier topoSimplifier)
            {
                if (topoSimplifier == null)
                {
                    throw new ArgumentNullException("topoSimplifier");
                }

                m_objSimplifier = topoSimplifier;
            }