상속: IfcBuildingElement
예제 #1
0
 internal static void parseFields(IfcWindow w, List <string> arrFields, ref int ipos, Schema schema)
 {
     IfcBuildingElement.parseFields(w, arrFields, ref ipos);
     w.mOverallHeight = ParserSTEP.ParseDouble(arrFields[ipos++]);
     w.mOverallWidth  = ParserSTEP.ParseDouble(arrFields[ipos++]);
     if (schema != Schema.IFC2x3)
     {
         string s = arrFields[ipos++];
         if (s.StartsWith("."))
         {
             w.mPredefinedType = (IfcWindowTypeEnum)Enum.Parse(typeof(IfcWindowTypeEnum), s.Replace(".", ""));
         }
         s = arrFields[ipos++];
         if (s.StartsWith("."))
         {
             w.mPredefinedType = (IfcWindowTypeEnum)Enum.Parse(typeof(IfcWindowTypeEnum), s.Replace(".", ""));
         }
         w.mUserDefinedPartitioningType = arrFields[ipos++];
     }
 }
예제 #2
0
 internal static IfcWindow Parse(string str, ReleaseVersion schema)
 {
     IfcWindow w = new IfcWindow(); int pos = 0; w.Parse(str, ref pos, str.Length, schema); return(w);
 }
예제 #3
0
 internal IfcWindow(DatabaseIfc db, IfcWindow w, bool downStream) : base(db, w, downStream)
 {
     mOverallHeight = w.mOverallHeight; mOverallWidth = w.mOverallWidth; mPredefinedType = w.mPredefinedType; mPartitioningType = w.mPartitioningType; mUserDefinedPartitioningType = w.mUserDefinedPartitioningType;
 }
예제 #4
0
 internal static IfcWindow Parse(string str, ReleaseVersion schema)
 {
     IfcWindow w = new IfcWindow(); int pos = 0; w.Parse(str, ref pos, str.Length, schema); return w;
 }
예제 #5
0
 internal IfcWindow(DatabaseIfc db, IfcWindow w)
     : base(db, w)
 {
     mOverallHeight = w.mOverallHeight; mOverallWidth = w.mOverallWidth; mPredefinedType = w.mPredefinedType; mPartitioningType = w.mPartitioningType; mUserDefinedPartitioningType = w.mUserDefinedPartitioningType;
 }
예제 #6
0
 internal IfcWindow(DatabaseIfc db, IfcWindow w, DuplicateOptions options) : base(db, w, options)
 {
     mOverallHeight = w.mOverallHeight; mOverallWidth = w.mOverallWidth; mPredefinedType = w.mPredefinedType; mPartitioningType = w.mPartitioningType; mUserDefinedPartitioningType = w.mUserDefinedPartitioningType;
 }
예제 #7
0
 internal static void parseFields(IfcWindowStandardCase s, List <string> arrFields, ref int ipos)
 {
     IfcWindow.parseFields(s, arrFields, ref ipos);
 }
예제 #8
0
 internal IfcWindow(IfcWindow o) : base(o)
 {
     mOverallHeight = o.mOverallHeight; mOverallWidth = o.mOverallWidth; mPredefinedType = o.mPredefinedType; mPartitioningType = o.mPartitioningType; mUserDefinedPartitioningType = o.mUserDefinedPartitioningType;
 }
예제 #9
0
 internal static IfcWindow Parse(string strDef, Schema schema)
 {
     IfcWindow w = new IfcWindow(); int ipos = 0; parseFields(w, ParserSTEP.SplitLineFields(strDef), ref ipos, schema); return(w);
 }
예제 #10
0
 public Qto_WindowBaseQuantities(IfcWindow instance) : base(instance.mDatabase, "Qto_WindowBaseQuantities")
 {
     Description = instance.Name; DefinesOccurrence.Assign(instance);
 }
예제 #11
0
 public Qto_WindowBaseQuantities(IfcWindow instance) : base(instance)
 {
 }
예제 #12
0
 public Qto_WindowBaseQuantities(IfcWindow instance)
     : base(instance.mDatabase, "Qto_WindowBaseQuantities")
 {
     Description = instance.Name; DefinesOccurrence.Assign(instance);
 }
예제 #13
0
 internal static void parseFields(IfcWindowStandardCase s, List <string> arrFields, ref int ipos, ReleaseVersion schema)
 {
     IfcWindow.parseFields(s, arrFields, ref ipos, schema);
 }
예제 #14
0
파일: IFC W.cs 프로젝트: jenca-cloud/ggIFC
		internal static void parseFields(IfcWindow w, List<string> arrFields, ref int ipos, Schema schema)
		{
			IfcBuildingElement.parseFields(w, arrFields, ref ipos);
			w.mOverallHeight = ParserSTEP.ParseDouble(arrFields[ipos++]);
			w.mOverallWidth = ParserSTEP.ParseDouble(arrFields[ipos++]);
			if (schema != Schema.IFC2x3)
			{
				string s = arrFields[ipos++];
				if (s.StartsWith("."))
					w.mPredefinedType = (IfcWindowTypeEnum)Enum.Parse(typeof(IfcWindowTypeEnum), s.Replace(".", ""));
				s = arrFields[ipos++];
				if (s.StartsWith("."))
					w.mPredefinedType = (IfcWindowTypeEnum)Enum.Parse(typeof(IfcWindowTypeEnum), s.Replace(".", ""));
				w.mUserDefinedPartitioningType = arrFields[ipos++];
			}
		}
예제 #15
0
파일: IFC W.cs 프로젝트: jenca-cloud/ggIFC
		internal static IfcWindow Parse(string strDef, Schema schema) { IfcWindow w = new IfcWindow(); int ipos = 0; parseFields(w, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return w; }
예제 #16
0
파일: IFC W.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcWindow(IfcWindow o) : base(o) { mOverallHeight = o.mOverallHeight; mOverallWidth = o.mOverallWidth; mPredefinedType = o.mPredefinedType; mPartitioningType = o.mPartitioningType; mUserDefinedPartitioningType = o.mUserDefinedPartitioningType; }