コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="geom"></param>
        /// <param name="distanceTolerance"></param>
        /// <returns></returns>
        public static IGeometry Simplify(IGeometry geom, double distanceTolerance)
        {
            TopologyPreservingSimplifier tss = new TopologyPreservingSimplifier(geom);

            tss.DistanceTolerance = distanceTolerance;
            return(tss.GetResultGeometry());
        }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="container"></param>
 public LineStringTransformer(TopologyPreservingSimplifier container)
 {
     this.container = container;
 }
コード例 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="container"></param>
 public LineStringMapBuilderFilter(TopologyPreservingSimplifier container)
 {
     this.container = container;
 }