pub struct IfcxGeometry { /* private fields */ }Expand description
Geometry source for IFCX models
Implementations§
Trait Implementations§
Source§impl GeometrySource for IfcxGeometry
impl GeometrySource for IfcxGeometry
Source§fn entities_with_geometry(&self) -> Vec<EntityId>
fn entities_with_geometry(&self) -> Vec<EntityId>
Get all entity IDs that have processable geometry Read more
Source§fn has_geometry(&self, id: EntityId) -> bool
fn has_geometry(&self, id: EntityId) -> bool
Check if an entity has processable geometry Read more
Source§fn get_geometry(&self, id: EntityId) -> Option<EntityGeometry>
fn get_geometry(&self, id: EntityId) -> Option<EntityGeometry>
Get processed geometry for a single entity Read more
Source§fn batch_geometry(&self, ids: &[EntityId]) -> Vec<(EntityId, EntityGeometry)>
fn batch_geometry(&self, ids: &[EntityId]) -> Vec<(EntityId, EntityGeometry)>
Batch process geometry for multiple entities Read more
Source§fn default_color(&self, ifc_type: &IfcType) -> [f32; 4]
fn default_color(&self, ifc_type: &IfcType) -> [f32; 4]
Get default color for an entity type Read more
Source§fn total_triangle_count(&self) -> usize
fn total_triangle_count(&self) -> usize
Get total triangle count for all geometry
Auto Trait Implementations§
impl Freeze for IfcxGeometry
impl RefUnwindSafe for IfcxGeometry
impl Send for IfcxGeometry
impl Sync for IfcxGeometry
impl Unpin for IfcxGeometry
impl UnsafeUnpin for IfcxGeometry
impl UnwindSafe for IfcxGeometry
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