Skip to main content

ifc_material/
usage.rs

1//! Resolving which material applies to a given element.
2//!
3//! Material can be assigned to the element or to its type, with the element
4//! winning. Resolution order is a common source of wrong answers.
5//!
6//! Implementation is tracked in `../PLAN.md`.
7
8//! ## Internal split
9//!
10//! - `assignment.rs`: RelAssociatesMaterial view.
11//! - `resolution.rs`: bounded association resolution.
12
13mod assignment;
14mod ifc4_type_objects;
15mod resolution;
16
17pub use assignment::MaterialAssignment;
18pub use resolution::{
19    AssignmentSource, MaterialDefinition, MaterialUsageDefinition, ResolvedAssignment,
20    ResolvedMaterialSelect,
21};