pub struct MeshBundle<S, V, St, CtSt>{
pub meshes: Vec<MeshData<S, V, St, CtSt>>,
}Expand description
Collection of mesh topologies with separate section data.
Fields§
§meshes: Vec<MeshData<S, V, St, CtSt>>Individual mesh containers.
Implementations§
Source§impl<S, V, St, CtSt> MeshBundle<S, V, St, CtSt>
impl<S, V, St, CtSt> MeshBundle<S, V, St, CtSt>
Source§impl<S, V, St, CtSt> MeshBundle<S, V, St, CtSt>
impl<S, V, St, CtSt> MeshBundle<S, V, St, CtSt>
Sourcepub fn sync_labels(&mut self) -> usize
pub fn sync_labels(&mut self) -> usize
Synchronize label entries for shared points across all meshes.
For every label entry appearing in any mesh, this updates every other mesh that contains the same point to carry that label value.
Returns the number of label entries applied across meshes.
Source§impl<S, V, St, CtSt> MeshBundle<S, V, St, CtSt>
impl<S, V, St, CtSt> MeshBundle<S, V, St, CtSt>
Sourcepub fn sync_coordinates(&mut self) -> Result<(), MeshSieveError>
pub fn sync_coordinates(&mut self) -> Result<(), MeshSieveError>
Synchronize coordinate values for shared points across all meshes.
Returns an error if coordinate dimensions differ or if conflicting values are detected for the same point.
Trait Implementations§
Auto Trait Implementations§
impl<S, V, St, CtSt> Freeze for MeshBundle<S, V, St, CtSt>
impl<S, V, St, CtSt> RefUnwindSafe for MeshBundle<S, V, St, CtSt>
impl<S, V, St, CtSt> Send for MeshBundle<S, V, St, CtSt>
impl<S, V, St, CtSt> Sync for MeshBundle<S, V, St, CtSt>
impl<S, V, St, CtSt> Unpin for MeshBundle<S, V, St, CtSt>
impl<S, V, St, CtSt> UnsafeUnpin for MeshBundle<S, V, St, CtSt>
impl<S, V, St, CtSt> UnwindSafe for MeshBundle<S, V, St, CtSt>where
S: UnwindSafe,
St: RefUnwindSafe + UnwindSafe,
CtSt: UnwindSafe,
V: RefUnwindSafe + UnwindSafe,
Blanket Implementations§
Source§impl<T> AccumulatePathExt for T
impl<T> AccumulatePathExt for T
fn accumulate_path<O, I>(path: I) -> Owhere
O: Orientation,
I: IntoIterator<Item = O>,
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