pub struct ProbeCache(/* private fields */);Expand description
What probing a model’s solids finds that probing them again would find the same: the faces’ meshes, and where each ray cast meets a surface that has no closed form against a line.
Kept by what each answer reads: a mesh by the face’s content (see
ogeom_mesh::FaceMeshCache), a ray by its two ends to the bit and the
surface it was cast against, compared whole. An answer read back is the
one asking again gives, so one cache serves probes of a model before and
after it is mended, and only what the mend left alone is read back.
Clones share what is kept.
Implementations§
Source§impl ProbeCache
impl ProbeCache
Trait Implementations§
Source§impl Clone for ProbeCache
impl Clone for ProbeCache
Source§impl Debug for ProbeCache
impl Debug for ProbeCache
Auto Trait Implementations§
impl Freeze for ProbeCache
impl RefUnwindSafe for ProbeCache
impl Send for ProbeCache
impl Sync for ProbeCache
impl Unpin for ProbeCache
impl UnsafeUnpin for ProbeCache
impl UnwindSafe for ProbeCache
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.