pub struct VertexWeld { /* private fields */ }Expand description
A tolerance weld over points given one at a time (weld_vertex with
its own vertex list and cells), for callers outside the kernel.
Implementations§
Source§impl VertexWeld
impl VertexWeld
Sourcepub fn new(tolerance: f64) -> VertexWeld
pub fn new(tolerance: f64) -> VertexWeld
An empty weld that merges points within tolerance (> 0).
Sourcepub fn weld(&mut self, point: [f64; 3]) -> usize
pub fn weld(&mut self, point: [f64; 3]) -> usize
The index of the lowest-index welded vertex within the tolerance of
point, or the index point is appended at.
Trait Implementations§
Source§impl Clone for VertexWeld
impl Clone for VertexWeld
Source§fn clone(&self) -> VertexWeld
fn clone(&self) -> VertexWeld
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 moreSource§impl Debug for VertexWeld
impl Debug for VertexWeld
Source§impl Default for VertexWeld
impl Default for VertexWeld
Source§fn default() -> VertexWeld
fn default() -> VertexWeld
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for VertexWeld
impl Freeze for VertexWeld
impl Move for VertexWeld
impl RefUnwindSafe for VertexWeld
impl Send for VertexWeld
impl Sync for VertexWeld
impl Unpin for VertexWeld
impl UnsafeUnpin for VertexWeld
impl UnwindSafe for VertexWeld
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