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 185 illustrates an instance diagram.
Figure 185 — Spatial Containment |
<?xml version="1.0" encoding="utf-8"?>
<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" 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>