コード例 #1
0
ファイル: IFC S.cs プロジェクト: jenca-cloud/ggIFC
		internal static IfcStructuralSurfaceAction Parse(string strDef, Schema schema) { IfcStructuralSurfaceAction a = new IfcStructuralSurfaceAction(); int ipos = 0; parseFields(a, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return a; }
コード例 #2
0
ファイル: IFC S.cs プロジェクト: jenca-cloud/ggIFC
		internal static void parseFields(IfcStructuralSurfaceAction a, List<string> arrFields, ref int ipos, Schema schema)
		{
			IfcStructuralAction.parseFields(a, arrFields, ref ipos);
			string s = arrFields[ipos++];
			if (s.StartsWith("."))
				a.mProjectedOrTrue = (IfcProjectedOrTrueLengthEnum)Enum.Parse(typeof(IfcProjectedOrTrueLengthEnum), s.Replace(".", ""));
			if (schema != Schema.IFC2x3)
				a.mPredefinedType = (IfcStructuralSurfaceActivityTypeEnum)Enum.Parse(typeof(IfcStructuralSurfaceActivityTypeEnum), arrFields[ipos++].Replace(".", ""));
		}
コード例 #3
0
ファイル: IFC S.cs プロジェクト: jenca-cloud/ggIFC
		internal IfcStructuralSurfaceAction(IfcStructuralSurfaceAction p) : base(p) { mProjectedOrTrue = p.mProjectedOrTrue; mPredefinedType = p.mPredefinedType; }