public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: base.IfcParse(propIndex, value); break; case 1: _radius = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: base.IfcParse(propIndex, value); break; case 2: _extrudedDirection = (IfcDirection) value.EntityVal; break; case 3: _depth = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: base.IfcParse(propIndex, value); break; case 3: _semiAxis1 = value.RealVal; break; case 4: _semiAxis2 = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: base.IfcParse(propIndex, value); break; case 3: _overallHeight = value.RealVal; break; case 4: _headWidth = value.RealVal; break; case 5: _radius = value.RealVal; break; case 6: _headDepth2 = value.RealVal; break; case 7: _headDepth3 = value.RealVal; break; case 8: _webThickness = value.RealVal; break; case 9: _baseDepth1 = value.RealVal; break; case 10: _baseDepth2 = value.RealVal; break; case 11: _centreOfGravityInY = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: base.IfcParse(propIndex, value); break; case 3: _depth = value.RealVal; break; case 4: _width = value.RealVal; break; case 5: _thickness = value.RealVal; break; case 6: _filletRadius = value.RealVal; break; case 7: _edgeRadius = value.RealVal; break; case 8: _legSlope = value.RealVal; break; case 9: _centreOfGravityInX = value.RealVal; break; case 10: _centreOfGravityInY = value.RealVal; 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: _meshLength = value.RealVal; break; case 10: _meshWidth = value.RealVal; break; case 11: _longitudinalBarNominalDiameter = value.RealVal; break; case 12: _transverseBarNominalDiameter = value.RealVal; break; case 13: _longitudinalBarCrossSectionArea = value.RealVal; break; case 14: _transverseBarCrossSectionArea = value.RealVal; break; case 15: _longitudinalBarSpacing = value.RealVal; break; case 16: _transverseBarSpacing = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: base.IfcParse(propIndex, value); break; case 3: _bottomXDim = value.RealVal; break; case 4: _topXDim = value.RealVal; break; case 5: _yDim = value.RealVal; break; case 6: _topXOffset = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _corner = (IfcCartesianPoint) value.EntityVal; break; case 1: _xDim = value.RealVal; break; case 2: _yDim = value.RealVal; break; case 3: _zDim = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public virtual void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _visibleSegmentLength = value.RealVal; break; case 1: _invisibleSegmentLength = value.RealVal; 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: _nominalDiameter = value.RealVal; break; case 10: _crossSectionArea = value.RealVal; break; case 11: _barLength = value.RealVal; break; case 12: _barRole = (IfcReinforcingBarRoleEnum) Enum.Parse(typeof (IfcReinforcingBarRoleEnum), value.EnumVal, true); break; case 13: _barSurface = (IfcReinforcingBarSurfaceEnum) Enum.Parse(typeof (IfcReinforcingBarSurfaceEnum), value.EnumVal, true); 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: _wallThickness = value.RealVal; break; case 6: _innerFilletRadius = value.RealVal; break; case 7: _outerFilletRadius = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _directrix = (IfcCurve) value.EntityVal; break; case 1: _radius = value.RealVal; break; case 2: _innerRadius = value.RealVal; break; case 3: _startParam = new IfcParameterValue(value.RealVal); break; case 4: _endParam = new IfcParameterValue(value.RealVal); 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: _Position = (IfcCartesianPoint)value.EntityVal; break; case 5: _Radius = value.RealVal; break; case 6: _ConstantAttenuation = value.RealVal; break; case 7: _DistanceAttenuation = value.RealVal; break; case 8: _QuadricAttenuation = value.RealVal; 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: base.IfcParse(propIndex, value); break; case 8: _topFlangeWidth = value.RealVal; break; case 9: _topFlangeThickness = value.RealVal; break; case 10: _topFlangeFilletRadius = value.RealVal; break; case 11: _centreOfGravityInY = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
private static double RoundedRecPerimeter(IfcPositiveLengthMeasure XDim, IfcPositiveLengthMeasure YDim, IfcPositiveLengthMeasure RoundingRadius) { return 2 * Math.PI * RoundingRadius + // circunference of 4 fillets 2 * (XDim - (2 * RoundingRadius)) + // 2 sides, each removed of 2 fillets (x dim) 2 * (YDim - (2 * RoundingRadius)); // 2 sides, each removed of 2 fillets (y dim) }
private static double pita(IfcPositiveLengthMeasure cat1, IfcLengthMeasure cat2) { return Math.Sqrt(Math.Pow(cat1, 2) + Math.Pow(cat2, 2)); }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: base.IfcParse(propIndex, value); break; case 3: _overallWidth = value.RealVal; break; case 4: _overallDepth = value.RealVal; break; case 5: _webThickness = value.RealVal; break; case 6: _flangeThickness = value.RealVal; break; case 7: _filletRadius = value.RealVal; 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: _predefinedType = (IfcTendonTypeEnum) Enum.Parse(typeof (IfcTendonTypeEnum), value.EnumVal, true); break; case 10: _nominalDiameter = value.RealVal; break; case 11: _crossSectionArea = value.RealVal; break; case 12: _tensionForce = value.RealVal; break; case 13: _preStress = value.RealVal; break; case 14: _frictionCoefficient = value.RealVal; break; case 15: _anchorageSlip = value.RealVal; break; case 16: _minCurvatureRadius = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }