internal static void parseFields(IfcCShapeProfileDef p, List<string> arrFields, ref int ipos, Schema schema) { IfcParameterizedProfileDef.parseFields(p, arrFields, ref ipos); p.mDepth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mWidth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mWallThickness = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mGirth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mInternalFilletRadius = ParserSTEP.ParseDouble(arrFields[ipos++]); if (schema == Schema.IFC2x3) ipos++; }
internal static IfcCShapeProfileDef Parse(string strDef, Schema schema) { IfcCShapeProfileDef p = new IfcCShapeProfileDef(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos, schema); return p; }
internal IfcCShapeProfileDef(IfcCShapeProfileDef c) : base(c) { mDepth = c.mDepth; mWidth = c.mWidth; mWallThickness = c.mWallThickness; mGirth = c.mGirth; mInternalFilletRadius = c.mInternalFilletRadius; }