Beispiel #1
0
 public PolyLine Clone()
 {
     PointD[] mPoints = new PointD[_Points.Length];
     for (int i = 0; i < _Points.Length; i++)
     {
         mPoints[i] = _Points[i].Clone();
     }
     return new PolyLine(mPoints, _MBR.Clone());
 }
Beispiel #2
0
        public MultiPolyLine Clone()
        {
            List <PolyLine> sPolylines = new List <PolyLine>();

            foreach (PolyLine sPolyline in _polyLines)
            {
                sPolylines.Add(sPolyline.Clone());
            }
            return(new MultiPolyLine(sPolylines, _MBR.Clone()));
        }
Beispiel #3
0
        public MultiPolygon Clone()
        {
            List <Polygon> mPolygons = new List <Polygon>();

            foreach (Polygon sPolygon in _Polygons)
            {
                mPolygons.Add(sPolygon.Clone());
            }
            return(new MultiPolygon(mPolygons, _MBR.Clone(), false));
        }