internal static IfcMechanicalMaterialProperties Parse(string strDef) { IfcMechanicalMaterialProperties p = new IfcMechanicalMaterialProperties(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p; }
internal static void parseFields(IfcMechanicalMaterialProperties p, List<string> arrFields, ref int ipos) { IfcMaterialPropertiesSuperSeded.parseFields(p, arrFields, ref ipos); p.mDynamicViscosity = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mYoungModulus = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mShearModulus = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mPoissonRatio = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mThermalExpansionCoefficient = ParserSTEP.ParseDouble(arrFields[ipos++]); }
internal IfcMechanicalMaterialProperties(IfcMechanicalMaterialProperties be) : base(be) { mDynamicViscosity = be.mDynamicViscosity; mYoungModulus = be.mYoungModulus; mShearModulus = be.mShearModulus; mPoissonRatio = be.mPoissonRatio; mThermalExpansionCoefficient = be.mThermalExpansionCoefficient; }