pub enum BooleanEngine {
Exact,
Robust,
Auto,
}Expand description
Which 3D boolean implementation to run.
Selection is input-based only: Auto never catches panics from the exact
engine — a panic there is a bug to report, not a dispatch signal.
Variants§
Exact
The ported exact pipeline (default). Byte-identical results to the C++ reference; requires strictly manifold operands.
Robust
The robust engine (src/robust, Barki et al. 2015): exact rational
arithmetic, accepts closed orientable triangle soup (non-manifold,
disconnected, voids). Slower; triangulation may differ from Exact.
Auto
Exact unless either operand carries non-manifold soup geometry
(imported via Manifold::from_mesh_gl_robust), then Robust.
Trait Implementations§
Source§impl Clone for BooleanEngine
impl Clone for BooleanEngine
Source§fn clone(&self) -> BooleanEngine
fn clone(&self) -> BooleanEngine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BooleanEngine
Source§impl Debug for BooleanEngine
impl Debug for BooleanEngine
Source§impl Default for BooleanEngine
impl Default for BooleanEngine
Source§fn default() -> BooleanEngine
fn default() -> BooleanEngine
Returns the “default value” for a type. Read more
impl Eq for BooleanEngine
Source§impl Hash for BooleanEngine
impl Hash for BooleanEngine
Source§impl PartialEq for BooleanEngine
impl PartialEq for BooleanEngine
impl StructuralPartialEq for BooleanEngine
Auto Trait Implementations§
impl Freeze for BooleanEngine
impl RefUnwindSafe for BooleanEngine
impl Send for BooleanEngine
impl Sync for BooleanEngine
impl Unpin for BooleanEngine
impl UnsafeUnpin for BooleanEngine
impl UnwindSafe for BooleanEngine
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