pub struct SpatialTree {
pub release: Option<String>,
pub roots: Vec<u64>,
pub nodes: Vec<SpatialNode>,
pub orphans: Vec<u64>,
pub dangling: Vec<(u64, u64)>,
pub anomalies: Vec<SpatialAnomaly>,
}Expand description
The containment tree of a model.
Fields§
§release: Option<String>The release containers were classified against (IFC4_ADD2_TC1), or None
when the header’s release is not one the tree is verified for.
roots: Vec<u64>Containers no relationship places under a parent; a conformant file
has one, the IfcProject.
nodes: Vec<SpatialNode>Every spatial container, by entity id.
orphans: Vec<u64>Containers other than the most general root that no aggregation places under a parent: a detached branch.
dangling: Vec<(u64, u64)>(relationship, target) pairs naming an entity the file lacks.
anomalies: Vec<SpatialAnomaly>Statements the tree could not honour, in the order they were met.
Trait Implementations§
Source§impl Clone for SpatialTree
impl Clone for SpatialTree
Source§fn clone(&self) -> SpatialTree
fn clone(&self) -> SpatialTree
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpatialTree
impl Debug for SpatialTree
Source§impl PartialEq for SpatialTree
impl PartialEq for SpatialTree
impl StructuralPartialEq for SpatialTree
Auto Trait Implementations§
impl Freeze for SpatialTree
impl RefUnwindSafe for SpatialTree
impl Send for SpatialTree
impl Sync for SpatialTree
impl Unpin for SpatialTree
impl UnsafeUnpin for SpatialTree
impl UnwindSafe for SpatialTree
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more