예제 #1
0
 public void Clear()
 {
     _polyLines = new List <PolyLine>();
     _MBR       = new RectangleD();
 }
예제 #2
0
파일: PolyLine.cs 프로젝트: gisvip/LightGIS
        ////加入点,效率不高,用到的较少
        //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();
        }
예제 #3
0
 public void Clear()
 {
     _Polygons = new List <Polygon>();
     _MBR      = new RectangleD();
 }