예제 #1
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 3:
                _annotatedCurve = (IfcAnnotationCurveOccurrence)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
예제 #2
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
                base.IfcParse(propIndex, value);
                break;

            case 3:
                _annotatedCurve = (IfcAnnotationCurveOccurrence)(value.EntityVal);
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
예제 #3
0
 public IfcDimensionCurveTerminator(IfcRepresentationItem __Item, IfcPresentationStyleAssignment[] __Styles, IfcLabel?__Name, IfcAnnotationCurveOccurrence __AnnotatedCurve, IfcDimensionExtentUsage __Role)
     : base(__Item, __Styles, __Name, __AnnotatedCurve)
 {
     this._Role = __Role;
 }
예제 #4
0
 public IfcTerminatorSymbol(IfcRepresentationItem __Item, IfcPresentationStyleAssignment[] __Styles, IfcLabel?__Name, IfcAnnotationCurveOccurrence __AnnotatedCurve)
     : base(__Item, __Styles, __Name)
 {
     this._AnnotatedCurve = __AnnotatedCurve;
 }