Exemplo n.º 1
0
 public override PicEntity Clone(IEntityContainer factory)
 {
     return(new PicPoint(factory.GetNewEntityId(), LineType)
     {
         Pt = this.Pt
     });
 }
Exemplo n.º 2
0
 public override PicEntity Clone(IEntityContainer factory)
 {
     PicSegment segment = new PicSegment(factory.GetNewEntityId(), LineType);
     segment._pt0 = this._pt0;
     segment._pt1 = this._pt1;
     return segment;
 }
Exemplo n.º 3
0
            public override PicEntity Clone(IEntityContainer factory)
            {
                PicPoint point = new PicPoint(factory.GetNewEntityId(), LineType);

                point._pt = this._pt;
                return(point);
            }
Exemplo n.º 4
0
        public override PicEntity Clone(IEntityContainer factory)
        {
            PicSegment segment = new PicSegment(factory.GetNewEntityId(), LineType);

            segment._pt0 = this._pt0;
            segment._pt1 = this._pt1;
            return(segment);
        }
Exemplo n.º 5
0
            public override PicEntity Clone(IEntityContainer factory)
            {
                PicArc arc = new PicArc(factory.GetNewEntityId(), LineType);

                arc._center   = this._center;
                arc._radius   = this._radius;
                arc._angleBeg = this._angleBeg;
                arc._angleEnd = this._angleEnd;
                return(arc);
            }
Exemplo n.º 6
0
 public override PicEntity Clone(IEntityContainer factory)
 {
     return(new PicArc(factory.GetNewEntityId(), LineType)
     {
         Center = Center,
         Radius = Radius,
         AngleBeg = AngleBeg,
         AngleEnd = AngleEnd
     });
 }
Exemplo n.º 7
0
 public override PicEntity Clone(IEntityContainer factory)
 {
     PicNurb nurb = new PicNurb(factory.GetNewEntityId(), LineType);
     return nurb;
 }
Exemplo n.º 8
0
 /// <returns>An entity to be saved in a new factory</returns>
 public override Pic.Factory2D.PicEntity Clone(IEntityContainer factory)
 {
     return(new PicCotationHorizontal(factory.GetNewEntityId(), new Vector2D(_pt0), new Vector2D(_pt1), _offset, 1));
 }
Exemplo n.º 9
0
 public override PicEntity Clone(IEntityContainer factory)
 {
     PicCardboardFormat cbf = new PicCardboardFormat(factory.GetNewEntityId(), Vector2D.Zero, _dimensions);
     return cbf;            
 }
Exemplo n.º 10
0
        public override PicEntity Clone(IEntityContainer factory)
        {
            PicCardboardFormat cbf = new PicCardboardFormat(factory.GetNewEntityId(), Vector2D.Zero, Dimensions);

            return(cbf);
        }
Exemplo n.º 11
0
 public override PicEntity Clone(IEntityContainer factory)
 {
     PicPoint point = new PicPoint(factory.GetNewEntityId(), LineType);
     point._pt = this._pt;
     return point;
 }
Exemplo n.º 12
0
        public override PicEntity Clone(IEntityContainer factory)
        {
            PicNurb nurb = new PicNurb(factory.GetNewEntityId(), LineType);

            return(nurb);
        }
Exemplo n.º 13
0
 /// <returns>An entity to be saved in a new factory</returns>
 public override Pic.Factory2D.PicEntity Clone(IEntityContainer factory)
 {
     return new PicCotationVertical(factory.GetNewEntityId(), new Vector2D(_pt0), new Vector2D(_pt1), _offset, 1);
 }
Exemplo n.º 14
0
 public override PicEntity Clone(IEntityContainer factory)
 {
     return(new PicCotationDistance(factory.GetNewEntityId(), new Vector2D(_pt0), new Vector2D(_pt1), _offset, _noDecimals));
 }
Exemplo n.º 15
0
 public override PicEntity Clone(IEntityContainer factory)
 {
     return new PicCotationDistance(factory.GetNewEntityId(), new Vector2D(_pt0), new Vector2D(_pt1), _offset, _noDecimals);
 }
Exemplo n.º 16
0
 public override PicEntity Clone(IEntityContainer factory)
 {
     PicArc arc = new PicArc(factory.GetNewEntityId(), LineType);
     arc._center = this._center;
     arc._radius = this._radius;
     arc._angleBeg = this._angleBeg;
     arc._angleEnd = this._angleEnd;
     return arc;
 }