示例#1
0
		internal static IfcTendon Parse(string strDef) { IfcTendon t = new IfcTendon(); int ipos = 0; parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos); return t; }
示例#2
0
		internal static void parseFields(IfcTendon c, List<string> arrFields, ref int ipos)
		{
			IfcReinforcingElement.parseFields(c, arrFields, ref ipos);
			string str = arrFields[ipos++];
			if (str[0] == '.')
				c.mPredefinedType = (IfcTendonTypeEnum)Enum.Parse(typeof(IfcTendonTypeEnum), str.Replace(".", ""));
			c.mNominalDiameter = ParserSTEP.ParseDouble(arrFields[ipos++]);
			c.mCrossSectionArea = ParserSTEP.ParseDouble(arrFields[ipos++]);
			c.mTensionForce = ParserSTEP.ParseDouble(arrFields[ipos++]);
			c.mPreStress = ParserSTEP.ParseDouble(arrFields[ipos++]);
			c.mFrictionCoefficient = ParserSTEP.ParseDouble(arrFields[ipos++]);
			c.mAnchorageSlip = ParserSTEP.ParseDouble(arrFields[ipos++]);
			c.mMinCurvatureRadius = ParserSTEP.ParseDouble(arrFields[ipos++]);

		}
示例#3
0
		internal IfcTendon(IfcTendon t) : base(t)
		{
			mPredefinedType = t.mPredefinedType;
			mNominalDiameter = t.mNominalDiameter;
			mCrossSectionArea = t.mCrossSectionArea;
			mTensionForce = t.mTensionForce;
			mPreStress = t.mPreStress;
			mFrictionCoefficient = t.mFrictionCoefficient;
			mAnchorageSlip = t.mAnchorageSlip;
			mMinCurvatureRadius = t.mMinCurvatureRadius;
		}