internal new static IfcMechanicalSteelMaterialProperties Parse(string strDef) { IfcMechanicalSteelMaterialProperties p = new IfcMechanicalSteelMaterialProperties(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p; }
internal static void parseFields(IfcMechanicalSteelMaterialProperties p, List<string> arrFields, ref int ipos) { IfcMechanicalMaterialProperties.parseFields(p, arrFields, ref ipos); p.mYieldStress = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mUltimateStress = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mUltimateStrain = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mHardeningModule = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mProportionalStress = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mPlasticStrain = ParserSTEP.ParseDouble(arrFields[ipos++]); string str = arrFields[ipos++]; if (str != "$") p.mRelaxations = ParserSTEP.SplitListLinks(str); }
internal IfcMechanicalSteelMaterialProperties(IfcMechanicalSteelMaterialProperties p) : base(p) { mYieldStress = p.mYieldStress; mUltimateStress = p.mUltimateStress; mUltimateStrain = p.mUltimateStrain; mHardeningModule = p.mHardeningModule; mProportionalStress = p.mProportionalStress; mPlasticStrain = p.mPlasticStrain; mRelaxations = new List<int>(p.mRelaxations); }