#[non_exhaustive]pub struct QhullOptions {
pub joggle: Option<f64>,
pub tolerance: Option<f64>,
}Expand description
Options in the spirit of Qhull’s qhull_options string (SciPy’s qhull_options argument),
for the subset that this implementation can honour. QhullOptions::parse reads a string:
Qt(triangulated output),Qbb(scale the lifted coordinate),Qz(a point at infinity),QcandPpare always on or without effect here, and are accepted;QJorQJnjoggles the input: every coordinate is moved by a deterministic pseudo-random amount of up tontimes the extent of the point set (default 3e-12), which makes degenerate input (cospherical points, coplanar facets) simplicial at the price of a result for the moved points;Ensets the distance below which a point counts as on a facet (absolute, as Qhull’sEroundoff error), replacing the default derived from the coordinates.
Any other option is an error, so that nothing is silently ignored.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.joggle: Option<f64>Joggle size relative to the extent of the points (QJ).
tolerance: Option<f64>The coplanarity tolerance (E).
Implementations§
Source§impl QhullOptions
impl QhullOptions
Trait Implementations§
Source§impl Clone for QhullOptions
impl Clone for QhullOptions
Source§impl Debug for QhullOptions
impl Debug for QhullOptions
Source§impl Default for QhullOptions
impl Default for QhullOptions
Source§impl PartialEq for QhullOptions
impl PartialEq for QhullOptions
impl StructuralPartialEq for QhullOptions
Auto Trait Implementations§
impl Freeze for QhullOptions
impl RefUnwindSafe for QhullOptions
impl Send for QhullOptions
impl Sync for QhullOptions
impl Unpin for QhullOptions
impl UnsafeUnpin for QhullOptions
impl UnwindSafe for QhullOptions
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