pub struct IfcxModel { /* private fields */ }Expand description
IFC5 (IFCX) model
Implementations§
Trait Implementations§
Source§impl EntityResolver for IfcxModel
impl EntityResolver for IfcxModel
Source§fn entities_by_type(&self, ifc_type: &IfcType) -> Vec<Arc<DecodedEntity>>
fn entities_by_type(&self, ifc_type: &IfcType) -> Vec<Arc<DecodedEntity>>
Get all entities of a specific type Read more
Source§fn find_by_type_name(&self, type_name: &str) -> Vec<Arc<DecodedEntity>>
fn find_by_type_name(&self, type_name: &str) -> Vec<Arc<DecodedEntity>>
Find entities by type name string Read more
Source§fn count_by_type(&self, ifc_type: &IfcType) -> usize
fn count_by_type(&self, ifc_type: &IfcType) -> usize
Count entities of a specific type Read more
Source§fn raw_bytes(&self, _id: EntityId) -> Option<&[u8]>
fn raw_bytes(&self, _id: EntityId) -> Option<&[u8]>
Fast raw bytes access for optimized parsing Read more
Source§fn resolve_ref(&self, attr: &AttributeValue) -> Option<Arc<DecodedEntity>>
fn resolve_ref(&self, attr: &AttributeValue) -> Option<Arc<DecodedEntity>>
Resolve an entity reference from an attribute value Read more
Source§fn resolve_ref_list(&self, attr: &AttributeValue) -> Vec<Arc<DecodedEntity>>
fn resolve_ref_list(&self, attr: &AttributeValue) -> Vec<Arc<DecodedEntity>>
Resolve a list of entity references Read more
Source§fn entity_count(&self) -> usize
fn entity_count(&self) -> usize
Get total entity count
Source§impl IfcModel for IfcxModel
impl IfcModel for IfcxModel
Source§fn resolver(&self) -> &dyn EntityResolver
fn resolver(&self) -> &dyn EntityResolver
Get entity resolver for entity lookups and reference resolution Read more
Source§fn properties(&self) -> &dyn PropertyReader
fn properties(&self) -> &dyn PropertyReader
Get property reader for accessing property sets and quantities Read more
Source§fn spatial(&self) -> &dyn SpatialQuery
fn spatial(&self) -> &dyn SpatialQuery
Get spatial query interface for hierarchy traversal Read more
Source§fn unit_scale(&self) -> f64
fn unit_scale(&self) -> f64
Get unit scale factor (file units to meters) Read more
Source§fn metadata(&self) -> &ModelMetadata
fn metadata(&self) -> &ModelMetadata
Get file metadata (schema version, originating system, etc.)
Source§impl PropertyReader for IfcxModel
impl PropertyReader for IfcxModel
Source§fn property_sets(&self, id: EntityId) -> Vec<PropertySet>
fn property_sets(&self, id: EntityId) -> Vec<PropertySet>
Get all property sets associated with an entity Read more
Source§fn quantities(&self, _id: EntityId) -> Vec<Quantity>
fn quantities(&self, _id: EntityId) -> Vec<Quantity>
Get all quantities associated with an entity Read more
Source§fn description(&self, id: EntityId) -> Option<String>
fn description(&self, id: EntityId) -> Option<String>
Get entity’s Description attribute Read more
Source§fn get_property(&self, id: EntityId, name: &str) -> Option<Property>
fn get_property(&self, id: EntityId, name: &str) -> Option<Property>
Get a specific property by name Read more
Source§fn get_quantity(&self, id: EntityId, name: &str) -> Option<Quantity>
fn get_quantity(&self, id: EntityId, name: &str) -> Option<Quantity>
Get a specific quantity by name Read more
Source§impl SpatialQuery for IfcxModel
impl SpatialQuery for IfcxModel
Source§fn spatial_tree(&self) -> Option<&SpatialNode>
fn spatial_tree(&self) -> Option<&SpatialNode>
Get the spatial hierarchy tree Read more
Source§fn elements_in_storey(&self, storey_id: EntityId) -> Vec<EntityId>
fn elements_in_storey(&self, storey_id: EntityId) -> Vec<EntityId>
Get elements contained in a storey Read more
Source§fn containing_storey(&self, element_id: EntityId) -> Option<EntityId>
fn containing_storey(&self, element_id: EntityId) -> Option<EntityId>
Get the containing storey for an element Read more
Source§fn elements_by_type(&self, ifc_type: &IfcType) -> Vec<EntityId>
fn elements_by_type(&self, ifc_type: &IfcType) -> Vec<EntityId>
Get elements of a specific type Read more
Source§fn all_elements(&self) -> Vec<EntityId>
fn all_elements(&self) -> Vec<EntityId>
Get all building elements (walls, slabs, etc.) Read more
Source§fn element_count(&self) -> usize
fn element_count(&self) -> usize
Get element count
Auto Trait Implementations§
impl Freeze for IfcxModel
impl RefUnwindSafe for IfcxModel
impl Send for IfcxModel
impl Sync for IfcxModel
impl Unpin for IfcxModel
impl UnsafeUnpin for IfcxModel
impl UnwindSafe for IfcxModel
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
Source§impl<T> EntityResolverExt for Twhere
T: EntityResolver + ?Sized,
impl<T> EntityResolverExt for Twhere
T: EntityResolver + ?Sized,
Source§fn get_by_u32(&self, id: u32) -> Option<Arc<DecodedEntity>>
fn get_by_u32(&self, id: u32) -> Option<Arc<DecodedEntity>>
Get entity by raw u32 ID
Source§fn get_or_err(&self, id: EntityId) -> Result<Arc<DecodedEntity>, ParseError>
fn get_or_err(&self, id: EntityId) -> Result<Arc<DecodedEntity>, ParseError>
Get entity or return error
Source§fn resolve_ref_or_err(
&self,
entity_id: EntityId,
attr_index: usize,
attr: &AttributeValue,
) -> Result<Arc<DecodedEntity>, ParseError>
fn resolve_ref_or_err( &self, entity_id: EntityId, attr_index: usize, attr: &AttributeValue, ) -> Result<Arc<DecodedEntity>, ParseError>
Resolve reference or return error