예제 #1
0
파일: IFC P.cs 프로젝트: jenca-cloud/ggIFC
		internal static void parseFields(IfcPipeSegment s, List<string> arrFields, ref int ipos)
		{
			IfcFlowSegment.parseFields(s, arrFields, ref ipos);
			string str = arrFields[ipos++];
			if (str[0] == '.')
				s.mPredefinedType = (IfcPipeSegmentTypeEnum)Enum.Parse(typeof(IfcPipeSegmentTypeEnum), str.Substring(1, str.Length - 2));
		}
예제 #2
0
파일: IFC P.cs 프로젝트: jenca-cloud/ggIFC
		internal new static IfcPipeSegment Parse(string strDef) { IfcPipeSegment s = new IfcPipeSegment(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
예제 #3
0
파일: IFC P.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcPipeSegment(IfcPipeSegment s) : base(s) { mPredefinedType = s.mPredefinedType; }