pub struct RemeshingContext<S: RealField + FloatCore, R: RedgeContainers> {
pub queue: PQueue<EdgeId, S>,
pub mesh: Redge<R>,
pub modified_vertices: Vec<VertId>,
pub modified_faces: Vec<FaceId>,
}Expand description
Input argument for remeshing.
Fields§
§queue: PQueue<EdgeId, S>Priority queue.
mesh: Redge<R>Mesh that will be remeshed.
modified_vertices: Vec<VertId>Vertices that have been modified since the last call to remeshing.
modified_faces: Vec<FaceId>Faces that have been modified since the last call to remeshing.
Implementations§
Source§impl<S, R> RemeshingContext<S, R>
impl<S, R> RemeshingContext<S, R>
Auto Trait Implementations§
impl<S, R> Freeze for RemeshingContext<S, R>where
<R as RedgeContainers>::VertContainer: Freeze,
<R as RedgeContainers>::EdgeContainer: Freeze,
<R as RedgeContainers>::FaceContainer: Freeze,
impl<S, R> RefUnwindSafe for RemeshingContext<S, R>where
<R as RedgeContainers>::VertContainer: RefUnwindSafe,
<R as RedgeContainers>::EdgeContainer: RefUnwindSafe,
<R as RedgeContainers>::FaceContainer: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, R> Send for RemeshingContext<S, R>where
<R as RedgeContainers>::VertContainer: Send,
<R as RedgeContainers>::EdgeContainer: Send,
<R as RedgeContainers>::FaceContainer: Send,
S: Send,
impl<S, R> Sync for RemeshingContext<S, R>where
<R as RedgeContainers>::VertContainer: Sync,
<R as RedgeContainers>::EdgeContainer: Sync,
<R as RedgeContainers>::FaceContainer: Sync,
S: Sync,
impl<S, R> Unpin for RemeshingContext<S, R>where
<R as RedgeContainers>::VertContainer: Unpin,
<R as RedgeContainers>::EdgeContainer: Unpin,
<R as RedgeContainers>::FaceContainer: Unpin,
S: Unpin,
impl<S, R> UnsafeUnpin for RemeshingContext<S, R>where
<R as RedgeContainers>::VertContainer: UnsafeUnpin,
<R as RedgeContainers>::EdgeContainer: UnsafeUnpin,
<R as RedgeContainers>::FaceContainer: UnsafeUnpin,
impl<S, R> UnwindSafe for RemeshingContext<S, R>where
<R as RedgeContainers>::VertContainer: UnwindSafe,
<R as RedgeContainers>::EdgeContainer: UnwindSafe,
<R as RedgeContainers>::FaceContainer: UnwindSafe,
S: UnwindSafe,
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§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 moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.