Struct CertifiedSurfaceProjectionOptions
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§
§impl CertifiedSurfaceProjectionOptions
impl CertifiedSurfaceProjectionOptions
pub fn new(
distance_tolerance: Tolerance,
parameter_tolerance: f64,
max_work: u32,
max_depth: u16,
) -> Result<CertifiedSurfaceProjectionOptions, GeomError>
pub fn new( distance_tolerance: Tolerance, parameter_tolerance: f64, max_work: u32, max_depth: u16, ) -> Result<CertifiedSurfaceProjectionOptions, GeomError>
Construct a non-vacuous, hard-capped certification policy.
pub const fn distance_tolerance(self) -> Tolerance
pub const fn distance_tolerance(self) -> Tolerance
Required outward upper-minus-lower global distance gap.
pub const fn parameter_tolerance(self) -> f64
pub const fn parameter_tolerance(self) -> f64
Required maximum width of each retained native parameter interval.
Trait Implementations§
§impl Clone for CertifiedSurfaceProjectionOptions
impl Clone for CertifiedSurfaceProjectionOptions
§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 more§impl Debug for CertifiedSurfaceProjectionOptions
impl Debug for CertifiedSurfaceProjectionOptions
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
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