Inheritance: IfcBuildingElement
Exemplo n.º 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++];
     }
 }
Exemplo n.º 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);
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 7
0
 internal static void parseFields(IfcWindowStandardCase s, List <string> arrFields, ref int ipos)
 {
     IfcWindow.parseFields(s, arrFields, ref ipos);
 }
Exemplo n.º 8
0
 internal IfcWindow(IfcWindow o) : base(o)
 {
     mOverallHeight = o.mOverallHeight; mOverallWidth = o.mOverallWidth; mPredefinedType = o.mPredefinedType; mPartitioningType = o.mPartitioningType; mUserDefinedPartitioningType = o.mUserDefinedPartitioningType;
 }
Exemplo n.º 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);
 }
Exemplo n.º 10
0
 public Qto_WindowBaseQuantities(IfcWindow instance) : base(instance.mDatabase, "Qto_WindowBaseQuantities")
 {
     Description = instance.Name; DefinesOccurrence.Assign(instance);
 }
Exemplo n.º 11
0
 public Qto_WindowBaseQuantities(IfcWindow instance) : base(instance)
 {
 }
Exemplo n.º 12
0
 public Qto_WindowBaseQuantities(IfcWindow instance)
     : base(instance.mDatabase, "Qto_WindowBaseQuantities")
 {
     Description = instance.Name; DefinesOccurrence.Assign(instance);
 }
Exemplo n.º 13
0
 internal static void parseFields(IfcWindowStandardCase s, List <string> arrFields, ref int ipos, ReleaseVersion schema)
 {
     IfcWindow.parseFields(s, arrFields, ref ipos, schema);
 }
Exemplo n.º 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++];
			}
		}
Exemplo n.º 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; }
Exemplo n.º 16
0
		internal IfcWindow(IfcWindow o) : base(o) { mOverallHeight = o.mOverallHeight; mOverallWidth = o.mOverallWidth; mPredefinedType = o.mPredefinedType; mPartitioningType = o.mPartitioningType; mUserDefinedPartitioningType = o.mUserDefinedPartitioningType; }