Beispiel #1
0
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.textHorizontalAlignment_0 = (TextHorizontalAlignment)objectBitStream.imethod_14();
            this.double_0  = objectBitStream.imethod_8();
            this.point2D_1 = objectBitStream.imethod_38();
            this.point2D_0 = objectBitStream.imethod_38();
        }
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.point2D_0 = objectBitStream.imethod_38();
            this.bool_2    = objectBitStream.imethod_6();
            this.double_0  = objectBitStream.imethod_8();
            ((DxfDimensionObjectContextData.Class313)ob).BlockHandle = or.method_100();
            this.bool_1   = objectBitStream.imethod_6();
            this.bool_4   = objectBitStream.imethod_6();
            this.bool_3   = objectBitStream.imethod_6();
            this.short_1  = objectBitStream.imethod_6() ? (short)1 : (short)0;
            this.bool_5   = objectBitStream.imethod_6();
            this.short_2  = objectBitStream.imethod_6() ? (short)1 : (short)0;
            this.enum33_0 = (DxfDimensionObjectContextData.Enum33)objectBitStream.imethod_18();
            this.bool_6   = objectBitStream.imethod_6();
            this.bool_7   = objectBitStream.imethod_6();
            if (this.bool_6)
            {
                this.bool_7 = !this.bool_7;
            }
            this.bool_8 = objectBitStream.imethod_6();
        }
Beispiel #3
0
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.int_0 = objectBitStream.imethod_11();
            or.Builder.method_10(objectBitStream.imethod_32(true), (System.Action <DxfObjectReference>)(o => this.dxfObjectReference_3 = o));
            this.designCoordinatesType_0 = (DesignCoordinatesType)objectBitStream.imethod_14();
            switch (this.int_0)
            {
            case 1:
                this.point3D_1    = objectBitStream.imethod_39();
                this.unitsValue_0 = (UnitsValue)objectBitStream.imethod_11();
                this.unitsValue_1 = this.unitsValue_0;
                this.point3D_0    = objectBitStream.imethod_39();
                objectBitStream.imethod_39();
                this.vector3D_0 = objectBitStream.imethod_51();
                this.vector2D_0 = Vector2D.FromAngle(System.Math.PI / 2.0 - objectBitStream.imethod_8());
                objectBitStream.imethod_39();
                this.string_0     = objectBitStream.ReadString();
                this.string_1     = objectBitStream.ReadString();
                this.vector2D_1.X = objectBitStream.imethod_8();
                this.vector2D_1.Y = this.vector2D_1.X;
                objectBitStream.ReadString();
                objectBitStream.ReadString();
                break;

            case 2:
            case 3:
                this.point3D_0               = objectBitStream.imethod_39();
                this.point3D_1               = objectBitStream.imethod_39();
                this.vector2D_1.X            = objectBitStream.imethod_8();
                this.unitsValue_0            = (UnitsValue)objectBitStream.imethod_11();
                this.vector2D_1.Y            = objectBitStream.imethod_8();
                this.unitsValue_1            = (UnitsValue)objectBitStream.imethod_11();
                this.vector3D_0              = objectBitStream.imethod_51();
                this.vector2D_0              = objectBitStream.imethod_50();
                this.scaleEstimationMethod_0 = (ScaleEstimationMethod)objectBitStream.imethod_11();
                this.double_0 = objectBitStream.imethod_8();
                this.bool_0   = objectBitStream.imethod_6();
                this.double_1 = objectBitStream.imethod_8();
                this.double_2 = objectBitStream.imethod_8();
                this.string_0 = objectBitStream.ReadString();
                this.string_1 = objectBitStream.ReadString();
                break;
            }
            this.string_2 = objectBitStream.ReadString();
            this.string_3 = objectBitStream.ReadString();
            this.string_4 = objectBitStream.ReadString();
            int num1 = objectBitStream.imethod_11();

            for (int index = 0; index < num1; ++index)
            {
                this.list_0.Add(new GeoMeshPoint(objectBitStream.imethod_38(), objectBitStream.imethod_38()));
            }
            int num2 = objectBitStream.imethod_11();

            for (int index = 0; index < num2; ++index)
            {
                this.list_1.Add(new GeoMeshFace(objectBitStream.imethod_11(), objectBitStream.imethod_11(), objectBitStream.imethod_11()));
            }
            if (this.int_0 != 1 || !objectBitStream.imethod_6())
            {
                return;
            }
            objectBitStream.imethod_6();
            objectBitStream.imethod_38();
            objectBitStream.imethod_38();
            objectBitStream.imethod_11();
            objectBitStream.imethod_11();
            objectBitStream.imethod_38();
            objectBitStream.imethod_38();
            objectBitStream.imethod_6();
            objectBitStream.imethod_8();
            objectBitStream.imethod_8();
            this.scaleEstimationMethod_0 = (ScaleEstimationMethod)objectBitStream.imethod_11();
            this.double_0 = objectBitStream.imethod_8();
            this.bool_0   = objectBitStream.imethod_6();
            this.double_1 = objectBitStream.imethod_8();
            this.double_2 = objectBitStream.imethod_8();
        }