コード例 #1
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _outerBoundary = (IfcCurve)value.EntityVal;
                break;

            case 1:
                if (_innerBoundaries == null)
                {
                    _innerBoundaries = new CurveSet(this);
                }
                _innerBoundaries.Add((IfcCurve)value.EntityVal);
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
コード例 #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:
                _innerCurves.Add((IfcCurve)value.EntityVal);
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }