public override PicEntity Clone(IEntityContainer factory) { return(new PicPoint(factory.GetNewEntityId(), LineType) { Pt = this.Pt }); }
public override PicEntity Clone(IEntityContainer factory) { PicSegment segment = new PicSegment(factory.GetNewEntityId(), LineType); segment._pt0 = this._pt0; segment._pt1 = this._pt1; return segment; }
public override PicEntity Clone(IEntityContainer factory) { PicPoint point = new PicPoint(factory.GetNewEntityId(), LineType); point._pt = this._pt; return(point); }
public override PicEntity Clone(IEntityContainer factory) { PicSegment segment = new PicSegment(factory.GetNewEntityId(), LineType); segment._pt0 = this._pt0; segment._pt1 = this._pt1; return(segment); }
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); }
public override PicEntity Clone(IEntityContainer factory) { return(new PicArc(factory.GetNewEntityId(), LineType) { Center = Center, Radius = Radius, AngleBeg = AngleBeg, AngleEnd = AngleEnd }); }
public override PicEntity Clone(IEntityContainer factory) { PicNurb nurb = new PicNurb(factory.GetNewEntityId(), LineType); return nurb; }
/// <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)); }
public override PicEntity Clone(IEntityContainer factory) { PicCardboardFormat cbf = new PicCardboardFormat(factory.GetNewEntityId(), Vector2D.Zero, _dimensions); return cbf; }
public override PicEntity Clone(IEntityContainer factory) { PicCardboardFormat cbf = new PicCardboardFormat(factory.GetNewEntityId(), Vector2D.Zero, Dimensions); return(cbf); }
public override PicEntity Clone(IEntityContainer factory) { PicPoint point = new PicPoint(factory.GetNewEntityId(), LineType); point._pt = this._pt; return point; }
public override PicEntity Clone(IEntityContainer factory) { PicNurb nurb = new PicNurb(factory.GetNewEntityId(), LineType); return(nurb); }
/// <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); }
public override PicEntity Clone(IEntityContainer factory) { return(new PicCotationDistance(factory.GetNewEntityId(), new Vector2D(_pt0), new Vector2D(_pt1), _offset, _noDecimals)); }
public override PicEntity Clone(IEntityContainer factory) { return new PicCotationDistance(factory.GetNewEntityId(), new Vector2D(_pt0), new Vector2D(_pt1), _offset, _noDecimals); }
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; }