4.7.1.2 Spatial Containment

The Spatial Containment concept defines the relationship of physical elements, such as building elements, distribution elements, or furnishing elements as being contained within a spatial structure element.

Any subtype of IfcElement may participate in two different containment relationships. The first (and in most implementation scenarios mandatory) relationship is the hierachical spatial containment, the second (optional) relationship is the aggregation within an element assembly.

Figure 52 illustrates an instance diagram.

Spatial ContainmentIfcElementIfcRelContainedInSpatialStructureIfcSpatialElementIfcLabel

Figure 52 — Spatial Containment

mvdXML Specification
<?xml version="1.0"?>
<ConceptTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" uuid="d9a3f822-0014-4bc2-8d94-9d9067759045" name="Spatial Containment" status="sample" applicableSchema="IFC4" applicableEntity="IfcElement">
  <Rules>
    <AttributeRule AttributeName="ContainedInStructure">
      <EntityRules>
        <EntityRule EntityName="IfcRelContainedInSpatialStructure">
          <AttributeRules>
            <AttributeRule RuleID="RelatingStructure" AttributeName="RelatingStructure">
              <EntityRules>
                <EntityRule EntityName="IfcSpatialElement">
                  <AttributeRules>
                    <AttributeRule RuleID="SpatialElementName" AttributeName="Name">
                      <EntityRules>
                        <EntityRule EntityName="IfcLabel" />
                      </EntityRules>
                    </AttributeRule>
                  </AttributeRules>
                </EntityRule>
              </EntityRules>
            </AttributeRule>
          </AttributeRules>
        </EntityRule>
      </EntityRules>
    </AttributeRule>
  </Rules>
</ConceptTemplate>

Link to this page  Link to this page