Ejemplo n.º 1
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfVPort dxfVport = (DxfVPort)from;

            this.string_0           = dxfVport.string_0;
            this.point2D_0          = dxfVport.point2D_0;
            this.point2D_1          = dxfVport.point2D_1;
            this.point2D_2          = dxfVport.point2D_2;
            this.point2D_3          = dxfVport.point2D_3;
            this.vector2D_0         = dxfVport.vector2D_0;
            this.vector2D_1         = dxfVport.vector2D_1;
            this.vector3D_0         = dxfVport.vector3D_0;
            this.point3D_0          = dxfVport.point3D_0;
            this.double_0           = dxfVport.double_0;
            this.double_1           = dxfVport.double_1;
            this.double_2           = dxfVport.double_2;
            this.double_3           = dxfVport.double_3;
            this.double_4           = dxfVport.double_4;
            this.double_5           = dxfVport.double_5;
            this.double_6           = dxfVport.double_6;
            this.standardFlags_0    = dxfVport.standardFlags_0;
            this.ViewMode           = dxfVport.viewMode_0;
            this.short_0            = dxfVport.short_0;
            this.short_1            = dxfVport.short_1;
            this.bool_0             = dxfVport.bool_0;
            this.bool_1             = dxfVport.bool_1;
            this.snapStyle_0        = dxfVport.snapStyle_0;
            this.short_2            = dxfVport.short_2;
            this.renderMode_0       = dxfVport.renderMode_0;
            this.bool_2             = dxfVport.bool_2;
            this.bool_3             = dxfVport.bool_3;
            this.Ucs                = Class906.smethod_2(cloneContext, dxfVport.Ucs);
            this.orthographicType_0 = dxfVport.orthographicType_0;
        }
Ejemplo n.º 2
0
        public static DxfVPort CreateActiveVPort()
        {
            DxfVPort dxfVport = new DxfVPort();

            dxfVport.Name   = "*Active";
            dxfVport.Height = 1.0;
            return(dxfVport);
        }
Ejemplo n.º 3
0
        public override IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfVPort dxfVport = (DxfVPort)cloneContext.GetExistingClone((IGraphCloneable)this);

            if (dxfVport == null)
            {
                dxfVport = new DxfVPort();
                cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfVport);
                dxfVport.CopyFrom((DxfHandledObject)this, cloneContext);
            }
            return((IGraphCloneable)dxfVport);
        }
Ejemplo n.º 4
0
 public Class464(DxfVPort vport)
 {
     this.dxfVPort_0 = vport;
 }