pub struct Sweeper { /* private fields */ }
Expand description
Main interface, user should grab a new Sweeper by SweeperBuilder::build
Implementations§
Source§impl Sweeper
impl Sweeper
Sourcepub fn triangulate(self) -> Triangles
pub fn triangulate(self) -> Triangles
Run trianglate with dummy observer
Sourcepub fn triangulate_with_observer(
self,
observer: &mut impl Observer,
) -> Triangles
pub fn triangulate_with_observer( self, observer: &mut impl Observer, ) -> Triangles
Run triangulate with observer
Source§impl Sweeper
impl Sweeper
pub fn verify_triangles(context: &Context<'_>) -> bool
Sourcepub fn illegal_triangles(context: &Context<'_>) -> Vec<(TriangleId, TriangleId)>
pub fn illegal_triangles(context: &Context<'_>) -> Vec<(TriangleId, TriangleId)>
verify all triangles stored in context are legal
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sweeper
impl RefUnwindSafe for Sweeper
impl Send for Sweeper
impl Sync for Sweeper
impl Unpin for Sweeper
impl UnwindSafe for Sweeper
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