<!DOCTYPE HTML>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <link rel="stylesheet" type="text/css" href="../../ifc-styles.css">

    <link rel="stylesheet" type="text/css" href="../../details-shim.css">
    <script type="text/javascript" src="../../details-shim.js"></script>
    <title>Spatial Containment</title>

    <style type="text/css">
      body { counter-reset: index1 0 index2 0 index3 0 index4 -1 index5 0; }
    </style>
  </head>

  <body>

<p>BACnet MVD</p>

<script type="text/javascript">
<!--
    parent.index.location.replace("../toc-4.htm#4.7.1.1");
//-->
</script>

<h4 class="std">4.7.1.1 Spatial Containment</h4>
<p>The <i>Spatial Containment</i> concept defines the relationship of physical elements, such as building elements, distribution elements, or furnishing elements as being contained within a spatial structure element.</i>
<p>
Any subtype of
 <a href="../ifcproductextension/lexical/ifcelement.htm">IfcElement</a> 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.
</p>

<ul>

 <li>The subtypes of <a href="../ifcproductextension/lexical/ifcelement.htm">IfcElement</a> are placed within the
 project spatial hierarchy using the objectified relationship
 <a href="../ifcproductextension/lexical/ifcrelcontainedinspatialstructure.htm">IfcRelContainedInSpatialStructure</a>, refering to it by
 its inverse attribute
 <i>SELF\IfcElement.ContainedInStructure</i>. Subtypes
 of <a href="../ifcproductextension/lexical/ifcspatialelement.htm">IfcSpatialElement</a> are valid spatial
 containers.</li>
       <li>The subtypes of <a href="../ifcproductextension/lexical/ifcelement.htm">IfcElement</a> may be aggregated into an
 element assembly using the objectified relationship
 <a href="../ifckernel/lexical/ifcrelaggregates.htm">IfcRelAggregates</a>, refering to it by its inverse
 attribute <i>SELF\IfcObjectDefinition.Decomposes</i>. Any
 subtype of <a href="../ifcproductextension/lexical/ifcelement.htm">IfcElement</a> can be an element assembly, with
 <a href="../ifcproductextension/lexical/ifcelementassembly.htm">IfcElementAssembly</a> as a special focus subtype. In this
 case it should not be additionally contained in the project
 spatial hierarchy, i.e. <i>SELF\IfcElement.ContainedInStructure</i> 
should be <i>NIL</i>.
</li>

</ul>

<p class="fig-ref">Figure 44 illustrates an instance diagram.</p>
<table><tr><td><img alt="Spatial Containment" src="./diagrams/spatial-containment.png" usemap="#f44"><map name="f44"><area shape="rect" coords="8,8,176,404" href="../ifcproductextension/lexical/ifcelement.htm" alt="IfcElement" /><area shape="rect" coords="208,8,376,92" href="../ifcproductextension/lexical/ifcrelcontainedinspatialstructure.htm" alt="IfcRelContainedInSpatialStructure" /><area shape="rect" coords="408,8,576,296" href="../ifcproductextension/lexical/ifcspatialelement.htm" alt="IfcSpatialElement" /></map></td></tr><tr><td><p class="figure">Figure 44 &mdash; Spatial Containment</p></td></tr></table>

<hr/>
<h4>BACnet View</h4>
<table class="exchange">
<tr><th>Entity</th></tr><tr><td><a href="../ifcbuildingcontrolsdomain/lexical/ifccontroller.htm">IfcController</a></td></tr>
<tr><td><a href="../ifcbuildingcontrolsdomain/lexical/ifcsensor.htm">IfcSensor</a></td></tr>
</table>
<details><summary>mvdXML Specification</summary><div class="xsd"><code class="xsd">
&lt;?xml version=&quot;1.0&quot;?&gt;<br/>
&lt;ConceptTemplate xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; uuid=&quot;d9a3f822-0014-4bc2-8d94-9d9067759045&quot; name=&quot;Spatial Containment&quot; status=&quot;sample&quot; applicableSchema=&quot;IFC4&quot; applicableEntity=&quot;<a href="../ifcproductextension/lexical/ifcelement.htm">IfcElement</a>&quot;&gt;<br/>
&nbsp;&nbsp;&lt;Rules&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;AttributeRule AttributeName=&quot;ContainedInStructure&quot;&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;EntityRules&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;EntityRule EntityName=&quot;<a href="../ifcproductextension/lexical/ifcrelcontainedinspatialstructure.htm">IfcRelContainedInSpatialStructure</a>&quot;&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;AttributeRules&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;AttributeRule RuleID=&quot;RelatingStructure&quot; AttributeName=&quot;RelatingStructure&quot;&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;EntityRules&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;EntityRule RuleID=&quot;SpatialElementName&quot; EntityName=&quot;<a href="../ifcproductextension/lexical/ifcspatialelement.htm">IfcSpatialElement</a>&quot; /&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/EntityRules&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/AttributeRule&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/AttributeRules&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/EntityRule&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/EntityRules&gt;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/AttributeRule&gt;<br/>
&nbsp;&nbsp;&lt;/Rules&gt;<br/>
&lt;/ConceptTemplate&gt;<br/>
</code></div>
</details>
</p>
<p><a href="../../link/spatial-containment.htm" target="_top" ><img src="../../img/permlink.png" style="border: 0px" title="Link to this page" alt="Link to this page"/>&nbsp; Link to this page</a></p>
  </body>
</html>
