Esempio n. 1
0
		internal static IfcMaterialLayerWithOffsets Parse(string strDef) { IfcMaterialLayerWithOffsets m = new IfcMaterialLayerWithOffsets(); int ipos = 0; parseFields(m, ParserSTEP.SplitLineFields(strDef), ref ipos); return m; }
Esempio n. 2
0
		internal static void parseFields(IfcMaterialLayerWithOffsets m, List<string> arrFields, ref int ipos)
		{
			IfcMaterialLayer.parseFields(m, arrFields, ref ipos);
			m.mOffsetDirection = (IfcLayerSetDirectionEnum)Enum.Parse(typeof(IfcLayerSetDirectionEnum), arrFields[ipos++].Replace(".", ""));
			string s = arrFields[ipos++];
			List<string> arrNodes = ParserSTEP.SplitLineFields(s.Substring(1, s.Length - 2));
			m.mOffsetValues = arrNodes.ConvertAll(x => ParserSTEP.ParseDouble(x)).ToArray();
		}
Esempio n. 3
0
		internal IfcMaterialLayerWithOffsets(IfcMaterialLayerWithOffsets m) : base(m) { mOffsetDirection = m.mOffsetDirection; mOffsetValues = m.mOffsetValues; }