pub struct ContourRegularization {
pub spacing: f64,
pub redistribution_passes: usize,
pub projection_tolerance: f64,
pub max_projection_iterations: usize,
pub max_normal_step: f64,
}Expand description
Equal-arclength redistribution and implicit-level projection settings.
Lengths are measured in the canonical equilateral logical plane, not pixels.
Fields§
§spacing: f64Target logical spacing between redistributed path points.
redistribution_passes: usizeNumber of redistribution/project passes; zero still performs one pass.
projection_tolerance: f64Accepted absolute level residual after projection.
max_projection_iterations: usizeMaximum damped normal/Newton iterations for one point.
max_normal_step: f64Maximum semantic (a,b) correction length per iteration.
Trait Implementations§
Source§impl Clone for ContourRegularization
impl Clone for ContourRegularization
Source§fn clone(&self) -> ContourRegularization
fn clone(&self) -> ContourRegularization
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 ContourRegularization
Source§impl Debug for ContourRegularization
impl Debug for ContourRegularization
Source§impl Default for ContourRegularization
impl Default for ContourRegularization
Source§fn default() -> ContourRegularization
fn default() -> ContourRegularization
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContourRegularization
impl PartialEq for ContourRegularization
impl StructuralPartialEq for ContourRegularization
Auto Trait Implementations§
impl Freeze for ContourRegularization
impl RefUnwindSafe for ContourRegularization
impl Send for ContourRegularization
impl Sync for ContourRegularization
impl Unpin for ContourRegularization
impl UnsafeUnpin for ContourRegularization
impl UnwindSafe for ContourRegularization
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