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