pub struct ParsedModel { /* private fields */ }Expand description
Parsed IFC model implementing the IfcModel trait
This is the main entry point for accessing IFC data. It provides access to entities, properties, and spatial structure through trait objects.
Implementations§
Source§impl ParsedModel
impl ParsedModel
Sourcepub fn parse(
content: &str,
build_spatial: bool,
_extract_properties: bool,
) -> Result<Self>
pub fn parse( content: &str, build_spatial: bool, _extract_properties: bool, ) -> Result<Self>
Parse IFC content and create a model
Sourcepub fn parse_with_progress(
content: &str,
build_spatial: bool,
_extract_properties: bool,
on_progress: ProgressCallback,
) -> Result<Self>
pub fn parse_with_progress( content: &str, build_spatial: bool, _extract_properties: bool, on_progress: ProgressCallback, ) -> Result<Self>
Parse with progress reporting
Sourcepub fn resolver_arc(&self) -> Arc<ResolverImpl>
pub fn resolver_arc(&self) -> Arc<ResolverImpl>
Get the resolver (for geometry processing, etc.)
Trait Implementations§
Source§impl IfcModel for ParsedModel
impl IfcModel for ParsedModel
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.)
Auto Trait Implementations§
impl Freeze for ParsedModel
impl !RefUnwindSafe for ParsedModel
impl Send for ParsedModel
impl Sync for ParsedModel
impl Unpin for ParsedModel
impl UnsafeUnpin for ParsedModel
impl !UnwindSafe for ParsedModel
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