Skip to main content

Module relation

Module relation 

Source
Expand description

Objectified relationship access.

IFC does not store parent/child pointers on entities. A wall does not know its storey; an IfcRelContainedInSpatialStructure entity names both. So every containment question is a question about relationship entities, and this module reads them.

§Internal split

  • slots.rs: schema-fixed attribute positions for the IfcRel* types used here.
  • link.rs: reading a relationship’s relating/related ends.
  • boundary.rs: space boundaries, which carry their own attributes beyond the two ends and so do not fit the generic Relationship shape.

Re-exports§

pub use boundary::BoundaryExposure;
pub use boundary::BoundaryPhysicality;
pub use boundary::ConnectionGeometryAnomaly;
pub use boundary::SpaceBoundary;

Modules§

boundary
IfcRelSpaceBoundary: which element bounds a space, and how.

Structs§

Relationship
One relationship instance, resolved to its ends.
RelationshipIndex
Reverse-reference index paired with the model snapshot it indexes.

Enums§

RelationshipKind
Which objectified relationship a link came from.

Functions§

all
Every aggregation, containment, nesting and covering relationship.
naming
The relationships whose related end names target.