pub struct SurfaceClassifyData { /* private fields */ }Expand description
Per-surface data the pair classifier needs, precomputable once per face and reused across every pair that face participates in.
Implementations§
Source§impl SurfaceClassifyData
impl SurfaceClassifyData
Sourcepub fn memoized(
surface: &NurbsSurface,
tolerance: f64,
) -> Result<Rc<SurfaceClassifyData>, String>
pub fn memoized( surface: &NurbsSurface, tolerance: f64, ) -> Result<Rc<SurfaceClassifyData>, String>
Only geometry and tolerance enter this read. Renumbering a face or moving it to the next boolean operand does not require new samples.
pub fn build( surface: &NurbsSurface, model_tolerance: f64, ) -> Result<SurfaceClassifyData, String>
Auto Trait Implementations§
impl Forget for SurfaceClassifyData
impl Freeze for SurfaceClassifyData
impl Move for SurfaceClassifyData
impl RefUnwindSafe for SurfaceClassifyData
impl Send for SurfaceClassifyDatawhere
RawVecInner: Send,
impl Sync for SurfaceClassifyDatawhere
RawVecInner: Sync,
impl Unpin for SurfaceClassifyData
impl UnsafeUnpin for SurfaceClassifyData
impl UnwindSafe for SurfaceClassifyDatawhere
RawVecInner: UnwindSafe,
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