public IGeometry Map(IGeometry geom)
 {
     if (geom is IPolygon)
     {
         IPolygon poly = (IPolygon)geom;
         return(PolygonInvalidHoleRemover.Clean(poly));
     }
     return(geom);
 }
예제 #2
0
 public Geometry Map(Geometry geom)
 {
     if (geom is Polygon)
     {
         var poly = (Polygon)geom;
         return(PolygonInvalidHoleRemover.Clean(poly));
     }
     return(geom);
 }