public Geometry Map(Geometry geom) { if (geom is Polygon) { return(PolygonHoleRemover.Clean((Polygon)geom, _predicate)); } return(geom); }
public static IPolygon Clean(IPolygon poly, Predicate isRemoved) { PolygonHoleRemover pihr = new PolygonHoleRemover(poly, isRemoved); return pihr.GetResult(); }
public static Polygon Clean(Polygon poly, Predicate isRemoved) { var pihr = new PolygonHoleRemover(poly, isRemoved); return(pihr.GetResult()); }