pub struct Exact;Expand description
Adaptive-precision exact predicates.
Shewchuk’s adaptive floating-point expansions, via the robust crate: a fast
floating-point filter first, escalating to exact arithmetic only when the
error bound says the sign is not yet determined. Exact, and in the common
non-degenerate case barely slower than Fast.
This is the default. Reach for Fast only with a measurement in hand.
Trait Implementations§
impl Copy for Exact
Source§impl Predicates for Exact
impl Predicates for Exact
Source§fn orient3d(a: P3, b: P3, c: P3, d: P3) -> Sign
fn orient3d(a: P3, b: P3, c: P3, d: P3) -> Sign
Sign of the volume of tetrahedron
(a, b, c, d). Read moreAuto Trait Implementations§
impl Freeze for Exact
impl RefUnwindSafe for Exact
impl Send for Exact
impl Sync for Exact
impl Unpin for Exact
impl UnsafeUnpin for Exact
impl UnwindSafe for Exact
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