internal static void parseFields(IfcSurfaceStyle s, List<string> arrFields, ref int ipos) { IfcPresentationStyle.parseFields(s, arrFields, ref ipos); string str = arrFields[ipos++]; if (str.StartsWith(".")) s.mSide = (IfcSurfaceSide)Enum.Parse(typeof(IfcSurfaceSide), str.Replace(".", "")); s.mStyles = ParserSTEP.SplitListLinks(arrFields[ipos++]); }
internal static IfcSurfaceStyle Parse(string strDef) { IfcSurfaceStyle s = new IfcSurfaceStyle(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
internal IfcSurfaceStyle(IfcSurfaceStyle s) : base(s) { mSide = s.mSide; mStyles.AddRange(s.mStyles); }