Struct CertifiedCurveIntersectionOptions
pub struct CertifiedCurveIntersectionOptions { /* private fields */ }Expand description
Accuracy and work policy for certified planar root isolation.
Implementations§
§impl CertifiedCurveIntersectionOptions
impl CertifiedCurveIntersectionOptions
pub fn new(
parameter_tolerance: f64,
max_nodes: u32,
max_depth: u16,
) -> Result<CertifiedCurveIntersectionOptions, GeomError>
pub fn new( parameter_tolerance: f64, max_nodes: u32, max_depth: u16, ) -> Result<CertifiedCurveIntersectionOptions, GeomError>
Construct a finite, non-vacuous root-isolation policy.
max_nodes must be at most 100,000 and max_depth at most 64 so caller
policy cannot authorize process-sized allocations.
pub const fn parameter_tolerance(self) -> f64
pub const fn parameter_tolerance(self) -> f64
Required maximum native-parameter width of each certified root interval.
Trait Implementations§
§impl Clone for CertifiedCurveIntersectionOptions
impl Clone for CertifiedCurveIntersectionOptions
§fn clone(&self) -> CertifiedCurveIntersectionOptions
fn clone(&self) -> CertifiedCurveIntersectionOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CertifiedCurveIntersectionOptions
impl Debug for CertifiedCurveIntersectionOptions
impl Copy for CertifiedCurveIntersectionOptions
impl StructuralPartialEq for CertifiedCurveIntersectionOptions
Auto Trait Implementations§
impl Freeze for CertifiedCurveIntersectionOptions
impl RefUnwindSafe for CertifiedCurveIntersectionOptions
impl Send for CertifiedCurveIntersectionOptions
impl Sync for CertifiedCurveIntersectionOptions
impl Unpin for CertifiedCurveIntersectionOptions
impl UnwindSafe for CertifiedCurveIntersectionOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more