pub struct Rebuild {
pub room: fn(NurbSurface3D) -> GeopResult<NurbSurface3D>,
pub rebuilt: fn(&BodySpec, &BodyNames, &[bool], &[bool]) -> GeopResult<BodySpec>,
}Expand description
Rebuilds a body some of whose faces were put on new surfaces, around
them: [geop_lib_shell::rebuilt] and [geop_lib_shell::room], which
this crate cannot depend on (its tests sweep their solids), handed in by
the caller. None where the caller has none: a corner at an arc or a
spline is then refused.
Fields§
§room: fn(NurbSurface3D) -> GeopResult<NurbSurface3D>A new surface given room around it, as rebuilt asks of each.
rebuilt: fn(&BodySpec, &BodyNames, &[bool], &[bool]) -> GeopResult<BodySpec>The body rebuilt around the faces marked replaced, and the vertices marked to reseat.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rebuild
impl RefUnwindSafe for Rebuild
impl Send for Rebuild
impl Sync for Rebuild
impl Unpin for Rebuild
impl UnsafeUnpin for Rebuild
impl UnwindSafe for Rebuild
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