internal static void parseFields(IfcCraneRailFShapeProfileDef p, List<string> arrFields, ref int ipos) { IfcParameterizedProfileDef.parseFields(p, arrFields, ref ipos); p.mOverallHeight = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mHeadWidth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mRadius = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mHeadDepth2 = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mHeadDepth3 = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mWebThickness = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mBaseDepth1 = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mBaseDepth2 = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mCentreOfGravityInY = ParserSTEP.ParseDouble(arrFields[ipos++]); }
internal new static IfcCraneRailFShapeProfileDef Parse(string strDef) { IfcCraneRailFShapeProfileDef p = new IfcCraneRailFShapeProfileDef(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p; }
internal IfcCraneRailFShapeProfileDef(IfcCraneRailFShapeProfileDef i) : base(i) { mOverallHeight = i.mOverallHeight; mHeadWidth = i.mHeadWidth; mRadius = i.mRadius; mHeadDepth2 = i.mHeadDepth2; mHeadDepth3 = i.mHeadDepth3; mWebThickness = i.mWebThickness; mBaseDepth1 = i.mBaseDepth1; mBaseDepth2 = i.mBaseDepth2; mCentreOfGravityInY = i.mCentreOfGravityInY; }