public IfcWindow(IfcOpeningElement host, IfcObjectPlacement placement, IfcProductDefinitionShape representation) : base(host.Database) { ObjectPlacement = placement; Representation = representation; IfcRelFillsElement relFillsElement = new IfcRelFillsElement(host, this); }
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(".", "")); } }
internal static void parseFields(IfcOpeningStandardCase c, List <string> arrFields, ref int ipos) { IfcOpeningElement.parseFields(c, arrFields, ref ipos); }
internal static IfcOpeningElement Parse(string strDef, ReleaseVersion schema) { IfcOpeningElement e = new IfcOpeningElement(); int ipos = 0; parseFields(e, ParserSTEP.SplitLineFields(strDef), ref ipos); return(e); }
internal IfcOpeningElement(DatabaseIfc db, IfcOpeningElement e) : base(db, e) { mPredefinedType = e.mPredefinedType; }
internal IfcRelFillsElement(IfcOpeningElement oe, IfcElement e) : base(oe.mDatabase) { mRelatingOpeningElement = oe.mIndex; mRelatedBuildingElement = e.mIndex; }
internal IfcOpeningElement(IfcOpeningElement od) : base(od) { mPredefinedType = od.mPredefinedType; }
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(".", "")); }
internal static IfcOpeningElement Parse(string strDef, Schema schema) { IfcOpeningElement e = new IfcOpeningElement(); int ipos = 0; parseFields(e, ParserSTEP.SplitLineFields(strDef), ref ipos); return e; }
public IfcWindow(IfcObjectDefinition host, IfcOpeningElement openingElement, IfcObjectPlacement placement, IfcProductRepresentation representation) : this(host, placement, representation) { IfcRelFillsElement relFillsElement = new IfcRelFillsElement(openingElement, this); }