Struct spade::RefinementResult
source · pub struct RefinementResult {
pub excluded_faces: Vec<FixedFaceHandle<InnerTag>>,
pub refinement_complete: bool,
}
Expand description
Contains details about the outcome of a refinement procedure.
Fields§
§excluded_faces: Vec<FixedFaceHandle<InnerTag>>
A Vec
containing all outer faces that were excluded from refinement.
This Vec
will be empty unless RefinementParameters::exclude_outer_faces has been set.
In this case, the Vec
contains all finite outer faces, including any additional outer faces
that were created during the refinement.
refinement_complete: bool
Set to true
if the refinement could be completed regularly.
This will be false
if the refinement ran out of additional vertices
(see RefinementParameters::with_max_additional_vertices). Consider adapting the refinement parameters in this case,
either by using a higher additional vertex count or by e.g. lowering the angle limit.
Trait Implementations§
source§impl Clone for RefinementResult
impl Clone for RefinementResult
source§fn clone(&self) -> RefinementResult
fn clone(&self) -> RefinementResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RefinementResult
impl RefUnwindSafe for RefinementResult
impl Send for RefinementResult
impl Sync for RefinementResult
impl Unpin for RefinementResult
impl UnwindSafe for RefinementResult
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