Struct CertifiedProjectionOptions
pub struct CertifiedProjectionOptions { /* private fields */ }Expand description
Explicit work and accuracy policy for globally certified projection.
Certification succeeds only when the returned global distance-bound gap is
no larger than tolerance.linear(). max_nodes independently caps both
pre-search refinement work and generated subdivision cells; pair queries
share one refinement allowance across both input curves. One refinement
work unit is one newly allocated homogeneous-control, expanded-knot, emitted
control, or cell slot. Binary subdivision is also depth-bounded. There is
deliberately no context-free Default.
Implementations§
§impl CertifiedProjectionOptions
impl CertifiedProjectionOptions
pub fn new(
tolerance: Tolerance,
max_nodes: u32,
max_depth: u16,
) -> Result<CertifiedProjectionOptions, GeomError>
pub fn new( tolerance: Tolerance, max_nodes: u32, max_depth: u16, ) -> Result<CertifiedProjectionOptions, GeomError>
Construct a non-vacuous certification policy.
Trait Implementations§
§impl Clone for CertifiedProjectionOptions
impl Clone for CertifiedProjectionOptions
§fn clone(&self) -> CertifiedProjectionOptions
fn clone(&self) -> CertifiedProjectionOptions
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 CertifiedProjectionOptions
impl Debug for CertifiedProjectionOptions
§impl PartialEq for CertifiedProjectionOptions
impl PartialEq for CertifiedProjectionOptions
impl Copy for CertifiedProjectionOptions
impl StructuralPartialEq for CertifiedProjectionOptions
Auto Trait Implementations§
impl Freeze for CertifiedProjectionOptions
impl RefUnwindSafe for CertifiedProjectionOptions
impl Send for CertifiedProjectionOptions
impl Sync for CertifiedProjectionOptions
impl Unpin for CertifiedProjectionOptions
impl UnwindSafe for CertifiedProjectionOptions
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