Esempio n. 1
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfSolid dxfSolid = (DxfSolid)from;

            this.list_0.AddRange((IEnumerable <WW.Math.Point3D>)dxfSolid.list_0);
            this.vector3D_0 = dxfSolid.vector3D_0;
            this.double_1   = dxfSolid.double_1;
        }
Esempio n. 2
0
        public override IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfSolid dxfSolid = (DxfSolid)cloneContext.GetExistingClone((IGraphCloneable)this);

            if (dxfSolid == null)
            {
                dxfSolid = new DxfSolid();
                cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfSolid);
                dxfSolid.CopyFrom((DxfHandledObject)this, cloneContext);
            }
            return((IGraphCloneable)dxfSolid);
        }
Esempio n. 3
0
 public virtual void Visit(DxfSolid solid)
 {
 }
Esempio n. 4
0
 public virtual void Visit(DxfSolid solid)
 {
     this.VisitEntity((DxfEntity)solid);
 }