Esempio n. 1
0
 public Geometry.Extent2D GetExtents()
 {
     Geometry.Extent2D result = Geometry.Extent2D.Null;
     foreach (VectorLayer layer in Layers)
     {
         result.Add(layer.GetExtents());
     }
     return(result.Area == 0 ? new Geometry.Extent2D(0, 0, 1000, 1000) : result); // mod 20140628
 }
Esempio n. 2
0
 public Geometry.Extent2D GetExtents()
 {
     Geometry.Extent2D result = Geometry.Extent2D.Null;
     foreach (VectorLayer layer in Layers)
     {
         result.Add(layer.GetExtents());
     }
     return(result);
 }
Esempio n. 3
0
 public Geometry.Extent2D GetExtents()
 {
     Geometry.Extent2D result = Geometry.Extent2D.Null;
     foreach (var feature in Features)
     {
         Geometry.Point2DString poly = new Geometry.Point2DString(feature.GeoData);
         result.Add(poly.GetExtent());
     }
     return(result);
 }