Skip to main content

ifc_material/
profile.rs

1//! Semantic half of `IfcMaterialProfile*`.
2//!
3//! This module projects authored MaterialResource profile references, cardinal
4//! points, extents, offsets, and taper fields. `ifc-geometry::input` owns their
5//! geometric interpretation and lowering.
6//!
7//! IFC4 onwards. IFC2X3 declares no material profile, profile set or profile
8//! set usage, so every accessor on such a record in an IFC2X3 model fails with
9//! [`crate::MaterialError::EntityNotInSchema`].
10
11//! ## Internal split
12//!
13//! - `definition.rs`: material, name, description, priority, and category.
14//! - `set.rs`: ordered semantic membership and composite indicator.
15//! - `usage.rs`: authored cardinal, extent, offset, and taper usage slots.
16
17mod definition;
18mod set;
19mod usage;
20
21pub use definition::{MaterialProfile, MaterialProfileWithOffsets};
22pub use set::MaterialProfileSet;
23pub use usage::{MaterialProfileSetUsage, MaterialProfileSetUsageTapering};