pub struct OffsetEvaluator<'a> { /* private fields */ }Expand description
The pointwise offset evaluator, bound to one carrier and one orientation convention.
Construction is free — it stores three references and reads nothing — so a
caller inside a Newton loop may build one per call without paying anything.
site is a short stable label used only by [offset_normal_diagnostic].
Implementations§
Source§impl<'a> OffsetEvaluator<'a>
impl<'a> OffsetEvaluator<'a>
pub fn new( site: &'static str, surface: &'a NurbsSurface, convention: OffsetNormal, ) -> Self
Trait Implementations§
Source§impl<'a> Clone for OffsetEvaluator<'a>
impl<'a> Clone for OffsetEvaluator<'a>
Source§fn clone(&self) -> OffsetEvaluator<'a>
fn clone(&self) -> OffsetEvaluator<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for OffsetEvaluator<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for OffsetEvaluator<'a>
impl<'a> !Send for OffsetEvaluator<'a>
impl<'a> !Sync for OffsetEvaluator<'a>
impl<'a> !UnwindSafe for OffsetEvaluator<'a>
impl<'a> Freeze for OffsetEvaluator<'a>
impl<'a> Unpin for OffsetEvaluator<'a>
impl<'a> UnsafeUnpin for OffsetEvaluator<'a>
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