Example #1
0
 public IfcWindow(IfcOpeningElement host, IfcObjectPlacement placement, IfcProductDefinitionShape representation) :
     base(host.Database)
 {
     ObjectPlacement = placement;
     Representation  = representation;
     IfcRelFillsElement relFillsElement = new IfcRelFillsElement(host, this);
 }
Example #2
0
 internal static void parseFields(IfcOpeningElement e, List <string> arrFields, ref int ipos, ReleaseVersion schema)
 {
     IfcFeatureElementSubtraction.parseFields(e, arrFields, ref ipos);
     if (schema != ReleaseVersion.IFC2x3)
     {
         e.mPredefinedType = (IfcOpeningElementTypeEnum)Enum.Parse(typeof(IfcOpeningElementTypeEnum), arrFields[ipos++].Replace(".", ""));
     }
 }
Example #3
0
 internal static void parseFields(IfcOpeningStandardCase c, List <string> arrFields, ref int ipos)
 {
     IfcOpeningElement.parseFields(c, arrFields, ref ipos);
 }
Example #4
0
 internal static IfcOpeningElement Parse(string strDef, ReleaseVersion schema)
 {
     IfcOpeningElement e = new IfcOpeningElement(); int ipos = 0; parseFields(e, ParserSTEP.SplitLineFields(strDef), ref ipos); return(e);
 }
Example #5
0
 internal IfcOpeningElement(DatabaseIfc db, IfcOpeningElement e) : base(db, e)
 {
     mPredefinedType = e.mPredefinedType;
 }
Example #6
0
		internal IfcRelFillsElement(IfcOpeningElement oe, IfcElement e) : base(oe.mDatabase) { mRelatingOpeningElement = oe.mIndex; mRelatedBuildingElement = e.mIndex; }
Example #7
0
 internal IfcOpeningElement(IfcOpeningElement od) : base(od)
 {
     mPredefinedType = od.mPredefinedType;
 }
Example #8
0
		internal static void parseFields(IfcOpeningElement e, List<string> arrFields, ref int ipos, Schema schema)
		{
			IfcFeatureElementSubtraction.parseFields(e, arrFields, ref ipos);
			if (schema != Schema.IFC2x3)
				e.mPredefinedType = (IfcOpeningElementTypeEnum)Enum.Parse(typeof(IfcOpeningElementTypeEnum), arrFields[ipos++].Replace(".", ""));
		}
Example #9
0
		internal static IfcOpeningElement Parse(string strDef, Schema schema) { IfcOpeningElement e = new IfcOpeningElement(); int ipos = 0; parseFields(e, ParserSTEP.SplitLineFields(strDef), ref ipos); return e; }
Example #10
0
		internal IfcOpeningElement(IfcOpeningElement od) : base(od) { mPredefinedType = od.mPredefinedType; }
Example #11
0
 public IfcWindow(IfcObjectDefinition host, IfcOpeningElement openingElement, IfcObjectPlacement placement, IfcProductRepresentation representation) :
     this(host, placement, representation)
 {
     IfcRelFillsElement relFillsElement = new IfcRelFillsElement(openingElement, this);
 }