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()); }
public MultiPolyLine Clone() { List <PolyLine> sPolylines = new List <PolyLine>(); foreach (PolyLine sPolyline in _polyLines) { sPolylines.Add(sPolyline.Clone()); } return(new MultiPolyLine(sPolylines, _MBR.Clone())); }
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)); }