pub struct SketchSolverSettings {
pub tolerance: f64,
pub distance_slide_threshold_ratio: f64,
pub distance_slide_step_ratio: f64,
pub distance_slide_min_step: f64,
pub newton_polish: bool,
}Expand description
Solver tuning knobs. Defaults mirror constraintDefinitions.
Fields§
§tolerance: f64§distance_slide_threshold_ratio: f64§distance_slide_step_ratio: f64§distance_slide_min_step: f64§newton_polish: boolRun the global Levenberg-Marquardt least-squares polish after the
iterative relaxation solve so constrained geometry converges to
machine precision instead of the ~1e-5 relaxation floor. Defaults on;
callers can disable it (e.g. per interactive drag frame) via the
request’s polish field.
Trait Implementations§
Source§impl Clone for SketchSolverSettings
impl Clone for SketchSolverSettings
Source§fn clone(&self) -> SketchSolverSettings
fn clone(&self) -> SketchSolverSettings
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 SketchSolverSettings
Source§impl Debug for SketchSolverSettings
impl Debug for SketchSolverSettings
Auto Trait Implementations§
impl Freeze for SketchSolverSettings
impl RefUnwindSafe for SketchSolverSettings
impl Send for SketchSolverSettings
impl Sync for SketchSolverSettings
impl Unpin for SketchSolverSettings
impl UnsafeUnpin for SketchSolverSettings
impl UnwindSafe for SketchSolverSettings
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