Наследование: 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
		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
		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
		internal IfcWindow(IfcWindow o) : base(o) { mOverallHeight = o.mOverallHeight; mOverallWidth = o.mOverallWidth; mPredefinedType = o.mPredefinedType; mPartitioningType = o.mPartitioningType; mUserDefinedPartitioningType = o.mUserDefinedPartitioningType; }