|
CFx SDK Documentation 2026 SP0
|
#include <IfcSpatialStructureElementAutoImpl.h>
Public Member Functions | |
| IfcElementCompositionEnum | getCompositionType () const |
| void | setCompositionType (IfcElementCompositionEnum CompositionType) |
| IfcSpatialStructureElement () | |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () const override |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual void | unsetAttr (const char *explicitAttrName) override |
| virtual bool | testAttr (const char *explicitAttrName) const override |
| virtual bool | putAttr (const char *explicitAttrName, const OdRxValue &val) 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 OdIfc4x2::IfcSpatialElement | |
| const OdAnsiString & | getLongName () const |
| void | setLongName (const OdAnsiString &LongName) |
| void | getInvContainsElements (OdDAIObjectIds &ContainsElements) const |
| void | getInvServicedBySystems (OdDAIObjectIds &ServicedBySystems) const |
| void | getInvReferencesElements (OdDAIObjectIds &ReferencesElements) const |
| IfcSpatialElement () | |
Public Member Functions inherited from OdIfc4x2::IfcProduct | |
| const OdDAIObjectId & | getObjectPlacement () const |
| void | setObjectPlacement (const OdDAIObjectId &ObjectPlacement) |
| const OdDAIObjectId & | getRepresentation () const |
| void | setRepresentation (const OdDAIObjectId &Representation) |
| void | getInvReferencedBy (OdDAIObjectIds &ReferencedBy) const |
| void | getInvPositionedRelativeTo (OdDAIObjectIds &PositionedRelativeTo) const |
| virtual void | setInverseCounterParts () override |
Public Member Functions inherited from OdIfc4x2::IfcObject | |
| const OdAnsiString & | getObjectType () const |
| void | setObjectType (const OdAnsiString &ObjectType) |
| void | getInvIsDeclaredBy (OdDAIObjectIds &IsDeclaredBy) const |
| void | getInvDeclares (OdDAIObjectIds &Declares) const |
| void | getInvIsTypedBy (OdDAIObjectIds &IsTypedBy) const |
| void | getInvIsDefinedBy (OdDAIObjectIds &IsDefinedBy) const |
| IfcObject () | |
Public Member Functions inherited from OdIfc4x2::IfcObjectDefinition | |
| void | getInvHasAssignments (OdDAIObjectIds &HasAssignments) const |
| void | getInvNests (OdDAIObjectIds &Nests) const |
| void | getInvIsNestedBy (OdDAIObjectIds &IsNestedBy) const |
| void | getInvHasContext (OdDAIObjectIds &HasContext) const |
| void | getInvIsDecomposedBy (OdDAIObjectIds &IsDecomposedBy) const |
| void | getInvDecomposes (OdDAIObjectIds &Decomposes) const |
| void | getInvHasAssociations (OdDAIObjectIds &HasAssociations) const |
Public Member Functions inherited from OdIfc4x2::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 OdIfc4x2::OdIfc4x2Instance | |
| void | setInverseCounterParts () override |
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 Attributes | |
| OdDAI::Enum | m_CompositionType |
Protected Attributes inherited from OdIfc4x2::IfcSpatialElement | |
| OdAnsiString | m_LongName |
Protected Attributes inherited from OdIfc4x2::IfcProduct | |
| OdDAIObjectId | m_ObjectPlacement |
| OdDAIObjectId | m_Representation |
Protected Attributes inherited from OdIfc4x2::IfcObject | |
| OdAnsiString | m_ObjectType |
Protected Attributes inherited from OdIfc4x2::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 |
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) |
A spatial structure element is the generalization of all spatial elements that can be used to define a spatial structure. That spatial structure tipically provides a project structure to organize a building project.
A spatial project structure can define as many levels of decomposition as necessary for the building project. Elements within the spatial project structure are: site as IfcSite facility as IfcFacility, or specifically building as IfcBuilding bridge as IfcBridge marine facility as IfcMarineFacility railway as IfcRailway road as IfcRoad facility part as IfcFacilityPart, or specifically storey as IfcBuildingStorey facility part as IfcFacilityPart space as IfcSpace
Also elements can be aggregations or parts of items from the list above. The composition type declares an element to be either an element itself, or an aggregation (complex) or a decomposition (part). The interpretation of these types is specified at each subtype of IfcSpatialStructureElement.
The image below shows the use of IfcRelAggregates to establish a spatial structure including site, building, building section and storey.
<IMAGE ifcspatialstructureelement-spatialstructure>
Definition at line 66 of file Ifc4x2/IfcSpatialStructureElementAutoImpl.h.
| OdIfc4x2::IfcSpatialStructureElement::IfcSpatialStructureElement | ( | ) |
Default constructor for the IfcSpatialStructureElement class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
| IfcElementCompositionEnum OdIfc4x2::IfcSpatialStructureElement::getCompositionType | ( | ) | const |
Returns the value of CompositionType attribute. This attribute indicates whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is specified separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcFacility, OdIfc4x2::IfcFacilityPart, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcFacility, OdIfc4x2::IfcFacilityPart, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
| void OdIfc4x2::IfcSpatialStructureElement::setCompositionType | ( | IfcElementCompositionEnum | CompositionType | ) |
Sets the value of CompositionType attribute. This attribute indicates whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is specified separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies.
| CompositionType | [in] Composition type to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcFacility, OdIfc4x2::IfcFacilityPart, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x2::IfcSpatialElement.
Reimplemented in OdIfc4x2::IfcBridge, OdIfc4x2::IfcBridgePart, OdIfc4x2::IfcBuilding, OdIfc4x2::IfcBuildingStorey, OdIfc4x2::IfcSite, and OdIfc4x2::IfcSpace.
|
protected |
Definition at line 213 of file Ifc4x2/IfcSpatialStructureElementAutoImpl.h.