pub struct ConeRefinePolicy {
pub steps: usize,
pub stop_below: f64,
pub min_radius: f64,
pub clamp_angle: bool,
}Expand description
Iteration and acceptance policy of refine_cone.
Fields§
§steps: usizeGauss-Newton steps taken at most.
stop_below: f64Stop once a step’s norm falls below this (0.0: always take steps).
min_radius: f64A point at most this far from the axis takes no part in a step.
clamp_angle: boolClamp the half angle into (1e-6, pi/2 - 1e-6) after every step;
false leaves it to the caller’s own range test.
Trait Implementations§
Source§impl Clone for ConeRefinePolicy
impl Clone for ConeRefinePolicy
impl Copy for ConeRefinePolicy
Source§impl Debug for ConeRefinePolicy
impl Debug for ConeRefinePolicy
Source§impl PartialEq for ConeRefinePolicy
impl PartialEq for ConeRefinePolicy
impl StructuralPartialEq for ConeRefinePolicy
Auto Trait Implementations§
impl Forget for ConeRefinePolicy
impl Freeze for ConeRefinePolicy
impl Move for ConeRefinePolicy
impl RefUnwindSafe for ConeRefinePolicy
impl Send for ConeRefinePolicy
impl Sync for ConeRefinePolicy
impl Unpin for ConeRefinePolicy
impl UnsafeUnpin for ConeRefinePolicy
impl UnwindSafe for ConeRefinePolicy
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