internal static void parseFields(IfcRevolvedAreaSolid r, List<string> arrFields, ref int ipos) { IfcSweptAreaSolid.parseFields(r, arrFields, ref ipos); r.mAxis = ParserSTEP.ParseLink(arrFields[ipos++]); string str = arrFields[ipos]; if (arrFields[ipos].StartsWith("IfcPlaneAngleMeasure(", true, System.Globalization.CultureInfo.CurrentCulture)) r.mAngle = ParserSTEP.ParseDouble(str.Substring(21, str.Length - 22)); else r.mAngle = ParserSTEP.ParseDouble(str); }
internal static IfcRevolvedAreaSolid Parse(string strDef) { IfcRevolvedAreaSolid r = new IfcRevolvedAreaSolid(); int ipos = 0; parseFields(r, ParserSTEP.SplitLineFields(strDef), ref ipos); return r; }
internal IfcRevolvedAreaSolid(IfcRevolvedAreaSolid s) : base(s) { mAxis = s.mAxis; mAngle = s.mAngle; }