Expand description
IfcRelSpaceBoundary: which element bounds a space, and how.
A space knows its volume; it does not know which wall encloses it. That
adjacency lives entirely in IfcRelSpaceBoundary entities, and it is what
thermal analysis, area take-off and daylight models consume. Without it a
room is a shape with no relationship to the fabric around it.
§The subtype trap
IfcRelSpaceBoundary 4 = RelatingSpace 5 = RelatedBuildingElement
6 = ConnectionGeometry (OPTIONAL)
IfcRelSpaceBoundary1stLevel + 9 = ParentBoundary
IfcRelSpaceBoundary2ndLevel + 10 = CorrespondingBoundaryModel::ids_of_type matches the EXACT type name. Every real second-level
BEM export writes IfcRelSpaceBoundary2ndLevel, so a lookup of the
supertype alone finds nothing and the crate reports a building with no
boundaries – an empty answer, not an error. All three concrete types are
therefore queried explicitly.
§What is reported and what is not
PhysicalOrVirtualBoundary and InternalOrExternalBoundary are read as
stated. The schema’s CorrectPhysOrVirt rule ties the first to whether
the related element is an IfcVirtualElement, but enforcing it belongs to
ifc-validate: this crate reports what the file says and never rejects it
as a domain view. A disagreement is surfaced through
SpaceBoundary::physical_matches_element so a caller can decide.
The same holds for ConnectionGeometry: a reference that names nothing,
or names something that is not a connection geometry, is returned by
SpaceBoundary::connection_geometry as a
ConnectionGeometryAnomaly carrying the offending target, never
dropped and never passed off as a shape.
Structs§
- Space
Boundary - One space boundary as the file states it.
Enums§
- Boundary
Exposure - Whether the boundary faces conditioned space or outside.
- Boundary
Physicality - Whether a boundary is real fabric or an analytical divider.
- Connection
Geometry Anomaly - A
ConnectionGeometryslot the file fills with something unusable.
Functions§
- all
- Every space boundary in the model, across all three concrete types.
- of_
element - The boundaries naming one element.
- of_
space - The boundaries of one space.