public SimpleGeometryPrecisionReducerTest()
        {
            pmFloat = new PrecisionModel();
            pmFixed1 = new PrecisionModel(1);
            reducer = new SimpleGeometryPrecisionReducer(pmFixed1);
            reducerKeepCollapse = new SimpleGeometryPrecisionReducer(pmFixed1);

            gfFloat = new GeometryFactory(pmFloat, 0);
            reader = new WKTReader(gfFloat);

            reducerKeepCollapse.RemoveCollapsedComponents = false;
        }
        ///<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));
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="container"></param>
 public PrecisionReducerCoordinateOperation(SimpleGeometryPrecisionReducer container)
 {
     _container = container;
 }
 ///<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);
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="container"></param>
 public PrecisionReducerCoordinateOperation(SimpleGeometryPrecisionReducer container)
 {
     _container = container;
 }