public static IGeometry[] GetResult(String wkt, double tolerance) { IGeometry[] ioGeom = new IGeometry[2]; ioGeom[0] = Rdr.Read(wkt); ioGeom[1] = VWSimplifier.Simplify(ioGeom[0], tolerance); Console.WriteLine(ioGeom[1]); return(ioGeom); }
public static Geometry[] GetResult(string wkt, double tolerance) { var ioGeom = new Geometry[2]; ioGeom[0] = Rdr.Read(wkt); ioGeom[1] = VWSimplifier.Simplify(ioGeom[0], tolerance); TestContext.WriteLine(ioGeom[1]); return(ioGeom); }
public static IGeometry SimplifyVW(IGeometry g, double distance) { return(VWSimplifier.Simplify(g, distance)); }