コード例 #1
0
        ///<summary>
        /// Convenience method for doing precision reduction on a single geometry,
        /// with collapses removed and keeping the geometry precision model the same.
        ///</summary>
        /// <returns>The reduced geometry</returns>
        public static IGeometry Reduce(IGeometry g, PrecisionModel precModel)
        {
            var reducer = new SimpleGeometryPrecisionReducer(precModel);

            return(reducer.Reduce(g));
        }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="container"></param>
 public PrecisionReducerCoordinateOperation(SimpleGeometryPrecisionReducer container)
 {
     _container = container;
 }