pub struct Fast;Expand description
Naive floating-point predicates.
Evaluates the determinant directly. Fast, and wrong near degeneracy: it can report a point as being on the wrong side of a plane it is nearly on, which in a triangulation or a boolean means an inconsistent combinatorial structure rather than a slightly-off number.
Present as a baseline for benchmarking and for callers that have shown the inputs are well separated.
Trait Implementations§
impl Copy for Fast
Source§impl Predicates for Fast
impl Predicates for Fast
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 Fast
impl RefUnwindSafe for Fast
impl Send for Fast
impl Sync for Fast
impl Unpin for Fast
impl UnsafeUnpin for Fast
impl UnwindSafe for Fast
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