pub struct StepParser {
pub build_spatial_tree: bool,
pub extract_properties: bool,
}Expand description
Main STEP/IFC parser implementing IfcParser trait
This is the entry point for parsing IFC files. It creates a ParsedModel
that provides access to all IFC data through the trait interfaces.
Fields§
§build_spatial_tree: boolWhether to build spatial tree during parsing
extract_properties: boolWhether to extract properties during parsing
Implementations§
Source§impl StepParser
impl StepParser
Sourcepub fn geometry_only() -> Self
pub fn geometry_only() -> Self
Create a parser optimized for geometry-only access
Sourcepub fn with_spatial_tree(self, enabled: bool) -> Self
pub fn with_spatial_tree(self, enabled: bool) -> Self
Set whether to build spatial tree
Sourcepub fn with_properties(self, enabled: bool) -> Self
pub fn with_properties(self, enabled: bool) -> Self
Set whether to extract properties
Trait Implementations§
Source§impl Default for StepParser
impl Default for StepParser
Source§fn default() -> StepParser
fn default() -> StepParser
Returns the “default value” for a type. Read more
Source§impl IfcParser for StepParser
impl IfcParser for StepParser
Auto Trait Implementations§
impl Freeze for StepParser
impl RefUnwindSafe for StepParser
impl Send for StepParser
impl Sync for StepParser
impl Unpin for StepParser
impl UnsafeUnpin for StepParser
impl UnwindSafe for StepParser
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