Exemplo n.º 1
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfXLine dxfXline = (DxfXLine)from;

            this.point3D_0  = dxfXline.point3D_0;
            this.vector3D_0 = dxfXline.vector3D_0;
        }
Exemplo n.º 2
0
        public override IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfXLine dxfXline = (DxfXLine)cloneContext.GetExistingClone((IGraphCloneable)this);

            if (dxfXline == null)
            {
                dxfXline = new DxfXLine();
                cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfXline);
                dxfXline.CopyFrom((DxfHandledObject)this, cloneContext);
            }
            return((IGraphCloneable)dxfXline);
        }
Exemplo n.º 3
0
 public virtual void Visit(DxfXLine xline)
 {
 }
Exemplo n.º 4
0
 public virtual void Visit(DxfXLine xline)
 {
     this.VisitEntity((DxfEntity)xline);
 }