예제 #1
0
 public BitmapSymbol()
 {
     _name         = "";
     _type         = new ShapeType();
     _id           = Guid.NewGuid();
     _points       = new BitmapPoints();
     _screenCoords = new List <Coord>();
     _sMesh        = new Matrix(GRID_Y_SIZE, GRID_X_SIZE, 0.0);
     _sDTM         = new Matrix(GRID_Y_SIZE, GRID_X_SIZE, double.PositiveInfinity);
     _polarCoords  = new List <Coord>();
     _pMesh        = new Matrix(GRID_Y_SIZE, GRID_X_SIZE, 0.0);
     _pDTM         = new Matrix(GRID_Y_SIZE, GRID_X_SIZE, double.PositiveInfinity);
 }
예제 #2
0
        public object Clone()
        {
            BitmapPoints points = (BitmapPoints)this.MemberwiseClone();

            points._polarCenter = (Coord)this._polarCenter.Clone();

            points._points = new List <GenericPoint>();
            foreach (GenericPoint pt in this._points)
            {
                points._points.Add((GenericPoint)pt.Clone());
            }

            return(points);
        }