pub struct IfcSchema {
pub geometry_types: HashMap<IfcType, GeometryCategory>,
pub profile_types: HashMap<IfcType, ProfileCategory>,
}Expand description
IFC schema metadata for dynamic processing
Fields§
§geometry_types: HashMap<IfcType, GeometryCategory>Geometry representation types (for routing)
profile_types: HashMap<IfcType, ProfileCategory>Profile types
Implementations§
Source§impl IfcSchema
impl IfcSchema
Sourcepub fn geometry_category(&self, ifc_type: &IfcType) -> Option<GeometryCategory>
pub fn geometry_category(&self, ifc_type: &IfcType) -> Option<GeometryCategory>
Get geometry category for a type
Sourcepub fn profile_category(&self, ifc_type: &IfcType) -> Option<ProfileCategory>
pub fn profile_category(&self, ifc_type: &IfcType) -> Option<ProfileCategory>
Get profile category for a type
Sourcepub fn is_geometry_type(&self, ifc_type: &IfcType) -> bool
pub fn is_geometry_type(&self, ifc_type: &IfcType) -> bool
Check if type is a geometry representation
Sourcepub fn is_profile_type(&self, ifc_type: &IfcType) -> bool
pub fn is_profile_type(&self, ifc_type: &IfcType) -> bool
Check if type is a profile
Sourcepub fn has_geometry(&self, ifc_type: &IfcType) -> bool
pub fn has_geometry(&self, ifc_type: &IfcType) -> bool
Check if type has geometry
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IfcSchema
impl RefUnwindSafe for IfcSchema
impl Send for IfcSchema
impl Sync for IfcSchema
impl Unpin for IfcSchema
impl UnsafeUnpin for IfcSchema
impl UnwindSafe for IfcSchema
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