public void Clear() { _polyLines = new List <PolyLine>(); _MBR = new RectangleD(); }
////加入点,效率不高,用到的较少 //public void AddPoint(PointD point) //{ // PointD[] mPoints = new PointD[_Points.Length + 1]; // for(int i = 0; i < _Points.Length; i++) // { // mPoints[i] = _Points[i]; // } // mPoints[_Points.Length + 1] = point; // _Points = mPoints; //} public void Clear() { _Points = null; _MBR = new RectangleD(); }
public void Clear() { _Polygons = new List <Polygon>(); _MBR = new RectangleD(); }