pub struct CertifiedCurveIntersectionOptions { /* private fields */ }Expand description
Accuracy and work policy for certified planar root isolation.
Implementations§
Source§impl CertifiedCurveIntersectionOptions
impl CertifiedCurveIntersectionOptions
Sourcepub fn new(
parameter_tolerance: Scalar,
max_nodes: u32,
max_depth: u16,
) -> GeomResult<Self>
pub fn new( parameter_tolerance: Scalar, max_nodes: u32, max_depth: u16, ) -> GeomResult<Self>
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.
Sourcepub const fn parameter_tolerance(self) -> Scalar
pub const fn parameter_tolerance(self) -> Scalar
Required maximum native-parameter width of each certified root interval.
Trait Implementations§
Source§impl Clone for CertifiedCurveIntersectionOptions
impl Clone for CertifiedCurveIntersectionOptions
Source§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 moreSource§impl PartialEq for CertifiedCurveIntersectionOptions
impl PartialEq for CertifiedCurveIntersectionOptions
Source§fn eq(&self, other: &CertifiedCurveIntersectionOptions) -> bool
fn eq(&self, other: &CertifiedCurveIntersectionOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.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