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++]; } }
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); }
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; }
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; }
internal IfcWindow(DatabaseIfc db, IfcWindow w) : base(db, w) { mOverallHeight = w.mOverallHeight; mOverallWidth = w.mOverallWidth; mPredefinedType = w.mPredefinedType; mPartitioningType = w.mPartitioningType; mUserDefinedPartitioningType = w.mUserDefinedPartitioningType; }
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; }
internal static void parseFields(IfcWindowStandardCase s, List <string> arrFields, ref int ipos) { IfcWindow.parseFields(s, arrFields, ref ipos); }
internal IfcWindow(IfcWindow o) : base(o) { mOverallHeight = o.mOverallHeight; mOverallWidth = o.mOverallWidth; mPredefinedType = o.mPredefinedType; mPartitioningType = o.mPartitioningType; mUserDefinedPartitioningType = o.mUserDefinedPartitioningType; }
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); }
public Qto_WindowBaseQuantities(IfcWindow instance) : base(instance.mDatabase, "Qto_WindowBaseQuantities") { Description = instance.Name; DefinesOccurrence.Assign(instance); }
public Qto_WindowBaseQuantities(IfcWindow instance) : base(instance) { }
internal static void parseFields(IfcWindowStandardCase s, List <string> arrFields, ref int ipos, ReleaseVersion schema) { IfcWindow.parseFields(s, arrFields, ref ipos, schema); }
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++]; } }
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; }