public override bool Equals(object obj) { // Check for null if (obj == null) { return(false); } // Check for type if (this.GetType() != obj.GetType()) { return(false); } // Cast as IfcRoot IfcShapeAspect root = (IfcShapeAspect)obj; return(this == root); }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: base.IfcParse(propIndex, value); break; case 4: _panelDepth = value.RealVal; break; case 5: _panelOperation = (IfcDoorPanelOperationEnum) Enum.Parse(typeof (IfcDoorPanelOperationEnum), value.EnumVal, true); break; case 6: _panelWidth = value.RealVal; break; case 7: _panelPosition = (IfcDoorPanelPositionEnum) Enum.Parse(typeof (IfcDoorPanelPositionEnum), value.EnumVal, true); break; case 8: _shapeAspectStyle = (IfcShapeAspect) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11: base.IfcParse(propIndex, value); break; case 12: _varyingAppliedLoadLocation = (IfcShapeAspect) value.EntityVal; break; case 13: _subsequentAppliedLoads.Add((IfcStructuralLoad) value.EntityVal); break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: base.IfcParse(propIndex, value); break; case 4: _liningDepth = value.RealVal; break; case 5: _liningThickness = value.RealVal; break; case 6: _thresholdDepth = value.RealVal; break; case 7: _thresholdThickness = value.RealVal; break; case 8: _transomThickness = value.RealVal; break; case 9: _transomOffset = value.RealVal; break; case 10: _liningOffset = value.RealVal; break; case 11: _thresholdOffset = value.RealVal; break; case 12: _casingThickness = value.RealVal; break; case 13: _casingDepth = value.RealVal; break; case 14: _shapeAspectStyle = (IfcShapeAspect) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: base.IfcParse(propIndex, value); break; case 4: _OperationType = (IfcPermeableCoveringOperationEnum)Enum.Parse(typeof(IfcPermeableCoveringOperationEnum), value.EnumVal); break; case 5: _PanelPosition = (IfcWindowPanelPositionEnum)Enum.Parse(typeof(IfcWindowPanelPositionEnum), value.EnumVal); break; case 6: _FrameDepth = value.RealVal; break; case 7: _FrameThickness = value.RealVal; break; case 8: _ShapeAspectStyle = (IfcShapeAspect)value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: base.IfcParse(propIndex, value); break; case 9: _subsequentThickness.Add(value.RealVal); break; case 10: _varyingThicknessLocation = (IfcShapeAspect) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: base.IfcParse(propIndex, value); break; case 5: _relatingProfileProperties = (IfcProfileProperties) value.EntityVal; break; case 6: _profileSectionLocation = (IfcShapeAspect) value.EntityVal; break; case 7: _profileOrientation = (IfcOrientationSelect) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }