Class Ifc4x2::IfcRelReferencedInSpatialStructure

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x2::IfcRelReferencedInSpatialStructure : public Ifc4x2::IfcRelConnects

The objectified relationship, IfcRelReferencedInSpatialStructure is used to assign elements in addition to those levels of the project spatialstructure, in which they are referenced, but not primarily contained.

NOTE The primary containment relationship between an element and the spatial structure is handled byIfcRelContainsInSpatialStructure.

Any element can be referencedto zero, one or several levels of the spatial structure. Whereas the IfcRelContainsInSpatialStructure relationship is required to be hierarchical (an element can only be contained in exactly one spatial structure element), the IfcRelReferencedInSpatialStructure is not restricted to be hierarchical.

EXAMPLE A wall might be normally contained within a storey, and since it does not span through several stories, it is not referenced in any additional storey. However a curtain wall might span through several stories, in this case it can be contained within the ground floor, but it would be referenced by all additional stories, it spans.

Predefined spatial structure elements to which elements can be assigned are

site as IfcSite

building as IfcBuilding

storey as IfcBuildingStorey

space as IfcSpace

Elements can also be references in a spatial zone that is provided as IfcSpatialZone.

The same element can be assigned to different spatial structure elements depending on the context.

HISTORY New entity inRelease IFC2x Edition 3.

Use Definition Figure 41 shows the use of IfcRelContainedInSpatialStructure and IfcRelReferencedInSpatialStructure to assign an IfcCurtainWallto two different levels within the spatial structure. It is primarily contained within the ground floor, and additionally referenced within the first and second floor.

Figure 41 — Relationship for spatial structure referencing

Public Functions

IfcTemplatedEntityList<::Ifc4x2::IfcProduct>::ptr RelatedElements() const

Set of products, which are referenced within this level of the spatial structure hierarchy. NOTE Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories.

void setRelatedElements(IfcTemplatedEntityList<::Ifc4x2::IfcProduct>::ptr v)
::Ifc4x2::IfcSpatialElement *RelatingStructure() const

Spatial structure element, within which the element is referenced. Any element can be contained within zero, one or many elements of the project spatial and zoning structure.

IFC2x Edition 4 CHANGE The attribute relatingStructure as been promoted to the new supertype IfcSpatialElement with upward compatibility for file based exchange.

void setRelatingStructure(::Ifc4x2::IfcSpatialElement *v)
const IfcParse::entity &declaration() const
IfcRelReferencedInSpatialStructure(IfcEntityInstanceData *e)
IfcRelReferencedInSpatialStructure(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory *v2_OwnerHistory, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description, IfcTemplatedEntityList<::Ifc4x2::IfcProduct>::ptr v5_RelatedElements, ::Ifc4x2::IfcSpatialElement *v6_RelatingStructure)

Public Static Functions

const IfcParse::entity &Class()