public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _curveOnRelatingElement = (IfcCurveOrEdgeCurve)value.EntityVal; break; case 1: _curveOnRelatedElement = (IfcCurveOrEdgeCurve)value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _curveOnRelatingElement = (IfcCurveOrEdgeCurve)(value.EntityVal); return; case 1: _curveOnRelatedElement = (IfcCurveOrEdgeCurve)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public IfcConnectionCurveGeometry(IfcCurveOrEdgeCurve __CurveOnRelatingElement, IfcCurveOrEdgeCurve __CurveOnRelatedElement) { this._CurveOnRelatingElement = __CurveOnRelatingElement; this._CurveOnRelatedElement = __CurveOnRelatedElement; }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _curveOnRelatingElement = (IfcCurveOrEdgeCurve) value.EntityVal; break; case 1: _curveOnRelatedElement = (IfcCurveOrEdgeCurve) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }