pub struct ImportedStep {
pub solids: Vec<BrepSolid>,
pub appearances: Vec<BodyAppearance>,
pub approximations: Vec<(usize, Approximation)>,
}Expand description
What import_step_bodies returns: the bodies, their colours, and the
typed approximations the closure gate attached to some of them.
Fields§
§solids: Vec<BrepSolid>One solid per body that reconstructed, in file order.
appearances: Vec<BodyAppearance>One per solid, in the same order (default when the file has none).
approximations: Vec<(usize, Approximation)>(index into solids, approximation) for every body the closure gate
imported over its bar (builder/closure.rs): a typed statement that
the body’s volume is determined only to the bound the approximation
carries. Empty on a file whose every body closes.
Trait Implementations§
Source§impl Clone for ImportedStep
impl Clone for ImportedStep
Auto Trait Implementations§
impl !RefUnwindSafe for ImportedStep
impl !Sync for ImportedStep
impl Freeze for ImportedStep
impl Send for ImportedStep
impl Unpin for ImportedStep
impl UnsafeUnpin for ImportedStep
impl UnwindSafe for ImportedStep
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