|
CFx SDK Documentation 2026 SP0
|
#include <IfcOpeningElementAutoImpl.h>
Public Member Functions | |
| OdDAIObjectId | getInvVoidsElements () const |
| void | getInvHasFillings (OdDAIObjectIds &HasFillings) const |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () const override |
| virtual void | unsetAttr (const char *explicitAttrName) override |
| virtual bool | testAttr (const char *explicitAttrName) const override |
| virtual bool | isKindOf (OdIfc::OdIfcEntityType entityType) const override |
| virtual OdIfc::OdIfcEntityType | type () const override |
| virtual OdRxValue | getAttr (const OdIfc::OdIfcAttribute attrDef) const override |
| virtual void | unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override |
| virtual bool | testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override |
| virtual bool | putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override |
Public Member Functions inherited from OdIfc2x_final::IfcElement | |
| const OdAnsiString & | getTag () const |
| void | setTag (const OdAnsiString &Tag) |
| void | getInvConnectedTo (OdDAIObjectIds &ConnectedTo) const |
| void | getInvConnectedFrom (OdDAIObjectIds &ConnectedFrom) const |
| void | getInvContainedInStructure (OdDAIObjectIds &ContainedInStructure) const |
| IfcElement () | |
Public Member Functions inherited from OdIfc2x_final::IfcProduct | |
| const OdDAIObjectId & | getObjectPlacement () const |
| void | setObjectPlacement (const OdDAIObjectId &ObjectPlacement) |
| const OdDAIObjectId & | getRepresentation () const |
| void | setRepresentation (const OdDAIObjectId &Representation) |
| void | getInvReferencedBy (OdDAIObjectIds &ReferencedBy) const |
Public Member Functions inherited from OdIfc2x_final::IfcObject | |
| const OdAnsiString & | getObjectType () const |
| void | setObjectType (const OdAnsiString &ObjectType) |
| void | getInvIsDefinedBy (OdDAIObjectIds &IsDefinedBy) const |
| void | getInvHasAssociations (OdDAIObjectIds &HasAssociations) const |
| void | getInvHasAssignments (OdDAIObjectIds &HasAssignments) const |
| void | getInvDecomposes (OdDAIObjectIds &Decomposes) const |
| void | getInvIsDecomposedBy (OdDAIObjectIds &IsDecomposedBy) const |
| IfcObject () | |
Public Member Functions inherited from OdIfc2x_final::IfcRoot | |
| OdDAI::CompressedGUID | getGlobalId () const |
| void | setGlobalId (OdDAI::CompressedGUID GlobalId) |
| const OdDAIObjectId & | getOwnerHistory () const |
| void | setOwnerHistory (const OdDAIObjectId &OwnerHistory) |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| const OdAnsiString & | getDescription () const |
| void | setDescription (const OdAnsiString &Description) |
| IfcRoot () | |
Public Member Functions inherited from OdIfc::OdIfcInstance | |
| ODRX_DECLARE_MEMBERS (OdIfcInstance) | |
| OdIfcInstance () | |
| ~OdIfcInstance () | |
| bool | isInstanceOf (OdIfcEntityType entityType) const |
| IfcOpResult | resolved () |
| void | resolve (IfcOpResult resolved, void *resPtr) |
| void | unresolve () |
| virtual void | setGsNode (OdGsCache *pGsNode) |
| virtual OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Member Functions | |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual bool | putAttr (const char *explicitAttrName, const OdRxValue &val) override |
Friends | |
| class | IfcRelVoidsElement |
| class | IfcRelFillsElement |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcInstance | |
| static const OdGePoint3d * | asPoint3d (const OdIfcInstance *inst) |
| static const OdGePoint2d * | asPoint2d (const OdIfcInstance *inst) |
| static const OdGeVector3d * | asVector3d (const OdIfcInstance *inst) |
| static const OdGeVector2d * | asVector2d (const OdIfcInstance *inst) |
| static const OdGeMatrix2d * | asMatrix2d (const OdIfcInstance *inst) |
| static const OdGeMatrix3d * | asMatrix3d (const OdIfcInstance *inst) |
| static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcInstance > inst) |
| static const OdCmEntityColor * | asRgbColor (const OdIfcInstance *inst) |
Protected Attributes inherited from OdIfc2x_final::IfcElement | |
| OdAnsiString | m_Tag |
Protected Attributes inherited from OdIfc2x_final::IfcProduct | |
| OdDAIObjectId | m_ObjectPlacement |
| OdDAIObjectId | m_Representation |
Protected Attributes inherited from OdIfc2x_final::IfcObject | |
| OdAnsiString | m_ObjectType |
Protected Attributes inherited from OdIfc2x_final::IfcRoot | |
| OdDAI::CompressedGUID | m_GlobalId |
| OdDAIObjectId | m_OwnerHistory |
| OdAnsiString | m_Name |
| OdAnsiString | m_Description |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
The opening element stands for opening, recess or chase, all reflecting voids. It represents a void within any element that has physical manifestation. Openings can be inserted into walls, slabs, beams, columns, or other elements. There are two different types of opening elements. The attribute PredefinedType should be used to capture the differences: an opening, where the thickness of the opening is greater or equal to the thickness of the element — the attribute PredefinedType is set to OPENING a recess or niche, where the thickness of the recess is smaller than the thickness of the element — the attribute PredefinedType is set to RECESS for a recess or niche.
If the value for PredefinedType is omitted, or the value is set to NOTDEFINED, no specific information of whether it is an opening or recess shall be assumed.
An IfcOpeningElement has to be inserted into an IfcElement by using the IfcRelVoidsElement relationship. It can be filled by an IfcDoor, IfcWindow, or another filling element by using the relationship IfcRelFillsElements. Depending on the type of the IfcShapeRepresentation of the IfcOpeningElement the voiding relationship implies: if the IfcShapeRepresentation.RepresentationIdentifier = 'Body', then the Body shape representation of the opening has to be subtracted from the body shape representation of the voided element - implicit Boolean difference operation. if the IfcShapeRepresentation.RepresentationIdentifier = 'Reference', then the Reference shape representation of the opening is not subtracted, it is provided in addition to the hole in the Body shape representation of the voided element.
The IfcOpeningElement does not participate in the containment relationship, i.e. it is not linked directly to the spatial structure of the project. It has a mandatory VoidsElements inverse relationship pointing to the IfcElement that is contained in the spatial structure. The inverse relationship ContainedInStructure should be NIL.
The following constraints are recommended: IfcShapeRepresentation.Items can include a single, or multiple, instances of IfcExtrudedAreaSolid. IfcExtrudedAreaSolid.SweptArea supports IfcRectangleProfileDef, IfcCircleProfileDef and IfcArbitraryClosedProfileDef. If multiple instances of IfcExtrudedAreaSolid are used, the extrusion direction of each extrusion should be equal.
If parametric profiles are used, the parameters can be interpreted to be the dimensions of the beam: IfcRectangleProfileDef.YDim interpreted as beam height IfcRectangleProfileDef.XDim interpreted as beam width There are two main extrusion directions: perpendicular and parallel.
For a perpendicular swept solid, IfcExtrudedAreaSolid.ExtrudedDirection extrudes the profile perpendicular to the element it is voiding. This can be horizontal for wall openings, or vertical for floor openings. The next image shows an opening with full extrusion:
<IMAGE ifcopeningelement_horizontal-layout1>
The next image shows an opening with recess extrusion:
<IMAGE ifcopeningelement_recess-layout1>
For a parallel swept solid,IfcExtrudedAreaSolid.ExtrudedDirection extrudes the profile parallel to the element it is voiding. This can be vertical in the case of walls. The image below shows a vertical extrusion with multiple extrusion bodies for the opening. Each extrusion body has a different extrusion length.
<IMAGE ifcopeningelement_vertical-layout1>
Definition at line 123 of file Ifc2x_Final/IfcOpeningElementAutoImpl.h.
|
overrideprotectedvirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc2x_final::IfcElement.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc2x_final::IfcElement.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc2x_final::IfcElement.
| void OdIfc2x_final::IfcOpeningElement::getInvHasFillings | ( | OdDAIObjectIds & | HasFillings | ) | const |
Returns the value of HasFillings attribute. This attribute represents reference to the Filling Relationship that is used to assign Elements as Fillings for this Opening Element. The Opening Element can be filled with zero-to-many Elements.
| HasFillings | [out] Receives the value of HasFillings attribute. |
| OdDAIObjectId OdIfc2x_final::IfcOpeningElement::getInvVoidsElements | ( | ) | const |
Returns the value of VoidsElements attribute. This attribute represents reference to the Voids Relationship that uses this Opening Element to create a void within an Element. The Opening Element can only be used to create a single void within a single Element.
| VoidsElements | [out] Receives the value of VoidsElements attribute. |
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc2x_final::IfcElement.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc2x_final::IfcElement.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc2x_final::IfcElement.
|
overrideprotectedvirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x_final::IfcElement.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x_final::IfcElement.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc2x_final::IfcElement.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc2x_final::IfcElement.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc2x_final::IfcElement.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc2x_final::IfcElement.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc2x_final::IfcElement.
|
friend |
Definition at line 248 of file Ifc2x_Final/IfcOpeningElementAutoImpl.h.
|
friend |
Definition at line 247 of file Ifc2x_Final/IfcOpeningElementAutoImpl.h.