pub struct CertifiedSurfaceProjectionOptions { /* private fields */ }Expand description
Explicit accuracy and work policy for globally certified surface projection.
distance_tolerance bounds the certified model-space distance gap.
parameter_tolerance independently bounds both native parameter widths;
native parameters are not assumed to have model-space units. max_work
is one shared cap for Bézier conversion, generated search cells, root and
child patch bounds, patch restriction, and representative enclosure.
Implementations§
Source§impl CertifiedSurfaceProjectionOptions
impl CertifiedSurfaceProjectionOptions
Sourcepub fn new(
distance_tolerance: Tolerance,
parameter_tolerance: Scalar,
max_work: u32,
max_depth: u16,
) -> GeomResult<Self>
pub fn new( distance_tolerance: Tolerance, parameter_tolerance: Scalar, max_work: u32, max_depth: u16, ) -> GeomResult<Self>
Construct a non-vacuous, hard-capped certification policy.
Sourcepub const fn distance_tolerance(self) -> Tolerance
pub const fn distance_tolerance(self) -> Tolerance
Required outward upper-minus-lower global distance gap.
Sourcepub const fn parameter_tolerance(self) -> Scalar
pub const fn parameter_tolerance(self) -> Scalar
Required maximum width of each retained native parameter interval.
Trait Implementations§
Source§impl Clone for CertifiedSurfaceProjectionOptions
impl Clone for CertifiedSurfaceProjectionOptions
Source§fn clone(&self) -> CertifiedSurfaceProjectionOptions
fn clone(&self) -> CertifiedSurfaceProjectionOptions
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 CertifiedSurfaceProjectionOptions
impl PartialEq for CertifiedSurfaceProjectionOptions
Source§fn eq(&self, other: &CertifiedSurfaceProjectionOptions) -> bool
fn eq(&self, other: &CertifiedSurfaceProjectionOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CertifiedSurfaceProjectionOptions
impl StructuralPartialEq for CertifiedSurfaceProjectionOptions
Auto Trait Implementations§
impl Freeze for CertifiedSurfaceProjectionOptions
impl RefUnwindSafe for CertifiedSurfaceProjectionOptions
impl Send for CertifiedSurfaceProjectionOptions
impl Sync for CertifiedSurfaceProjectionOptions
impl Unpin for CertifiedSurfaceProjectionOptions
impl UnwindSafe for CertifiedSurfaceProjectionOptions
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