Esempio n. 1
0
 public GeometryCollection(IEnumerable<IGeometry> geometries)
 {
     var items = (geometries ?? new IGeometry[0]).ToList();
     Geometries = new SpatialReadOnlyCollection<IGeometry>(items);
 }
Esempio n. 2
0
 public GeometryCollection()
 {
     Geometries = new SpatialReadOnlyCollection<IGeometry>(new IGeometry[0]);
 }
Esempio n. 3
0
 public Polygon(LinearRing shell, IEnumerable <LinearRing> holes)
 {
     Shell = shell;
     Holes = new SpatialReadOnlyCollection <LinearRing>(holes ?? new LinearRing[0]);
 }
Esempio n. 4
0
 public Polygon(LinearRing shell, IEnumerable<LinearRing> holes)
 {
     Shell = shell;
     Holes = new SpatialReadOnlyCollection<LinearRing>(holes ?? new LinearRing[0]);
 }
Esempio n. 5
0
        public GeometryCollection(IEnumerable <IGeometry> geometries)
        {
            var items = (geometries ?? new IGeometry[0]).ToList();

            Geometries = new SpatialReadOnlyCollection <IGeometry>(items);
        }
Esempio n. 6
0
 public GeometryCollection()
 {
     Geometries = new SpatialReadOnlyCollection <IGeometry>(new IGeometry[0]);
 }