Пример #1
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 5:
                _rasterFormat = value.StringVal;
                return;

            case 6:
                _rasterCode = value.HexadecimalVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Пример #2
0
 public IfcBlobTexture(IfcBoolean __RepeatS, IfcBoolean __RepeatT, IfcIdentifier?__Mode, IfcCartesianTransformationOperator2D __TextureTransform, IfcIdentifier[] __Parameter, IfcIdentifier __RasterFormat, IfcBinary __RasterCode)
     : base(__RepeatS, __RepeatT, __Mode, __TextureTransform, __Parameter)
 {
     this.RasterFormat = __RasterFormat;
     this.RasterCode   = __RasterCode;
 }
Пример #3
0
 internal static int BLENGTH(IfcBinary value)
 {
     // todo: blenght is the size in bits of the ifcbinary value provided
     throw new NotImplementedException();
 }