pub struct ConcaveHullParams {
pub concavity: f64,
pub length_threshold: f64,
}Expand description
Parameters controlling edge-refinement concave hulls.
Fields§
§concavity: f64Maximum ratio (a→candidate + candidate→b) / a→b accepted for an edge.
Values below 1 are clamped to 1 at the algorithm boundary.
length_threshold: f64Edges no longer than this threshold are left unchanged.
Trait Implementations§
Source§impl Clone for ConcaveHullParams
impl Clone for ConcaveHullParams
Source§fn clone(&self) -> ConcaveHullParams
fn clone(&self) -> ConcaveHullParams
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 ConcaveHullParams
Source§impl Debug for ConcaveHullParams
impl Debug for ConcaveHullParams
Source§impl Default for ConcaveHullParams
impl Default for ConcaveHullParams
Source§impl PartialEq for ConcaveHullParams
impl PartialEq for ConcaveHullParams
impl StructuralPartialEq for ConcaveHullParams
Auto Trait Implementations§
impl Freeze for ConcaveHullParams
impl RefUnwindSafe for ConcaveHullParams
impl Send for ConcaveHullParams
impl Sync for ConcaveHullParams
impl Unpin for ConcaveHullParams
impl UnsafeUnpin for ConcaveHullParams
impl UnwindSafe for ConcaveHullParams
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