openbim-ifcx 0.1.1

Lossless reader and writer for IFC5 / IFCX files, the layered JSON model.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Layer composition, following upstream `src/ifcx-core/composition` of
//! buildingSMART/IFC5-development for the `ifcx_alpha` draft.
//!
//! Composition has three phases upstream: federation puts the nodes of all
//! layers into one list in layer order, flattening merges the nodes that
//! share a path ([`flatten`]), and composition expands `inherits` and
//! `children` into a tree ([`compose`]).

mod flatten;
mod tree;

pub use flatten::{flatten, flatten_owned, FlatNode};
pub use tree::{compose, ComposeError, ComposedNode, Composition};