[−][src]Trait gut::algo::merge::Merge
A trait describing the action of merging mutltiple objects into a single object of the same type. This represents the inverse of splitting a mesh into components of the same type.
Required methods
fn merge(&mut self, other: Self) -> &mut Self
Merge another object into self and return the resulting merged object as a mutable reference.
Provided methods
fn merge_vec(vec: Vec<Self>) -> Self where
Self: Default,
Self: Default,
Merge a Vec
of objecs into one of the same type.
fn merge_slice(slice: &[Self]) -> Self where
Self: Clone + Default,
Self: Clone + Default,
In contrast to merge_vec
, this function takes an immutable reference to a collection of
meshes, and creates a brand new mesh that is a union of all the given meshes.
Implementors
impl<T: Real> Merge for PolyMesh<T>
[src]
fn merge(&mut self, other: Self) -> &mut Self
[src]
Attributes with the same name but different types won't be merged.
impl<T: Real> Merge for TetMesh<T>
[src]
fn merge(&mut self, other: Self) -> &mut Self
[src]
Attributes with the same name but different types won't be merged.
impl<T: Real> Merge for TetMeshExt<T>
[src]
fn merge(&mut self, other: Self) -> &mut Self
[src]
Attributes with the same name but different types won't be merged.
impl<T: Real> Merge for QuadMesh<T>
[src]
fn merge(&mut self, other: Self) -> &mut Self
[src]
Attributes with the same name but different types won't be merged.
impl<T: Real> Merge for QuadMeshExt<T>
[src]
fn merge(&mut self, other: Self) -> &mut Self
[src]
Attributes with the same name but different types won't be merged.
impl<T: Real> Merge for TriMesh<T>
[src]
fn merge(&mut self, other: Self) -> &mut Self
[src]
Attributes with the same name but different types won't be merged.