pub struct TessellationOutcome {
pub mesh: TriMesh,
pub u_samples: usize,
pub v_samples: usize,
pub max_sagitta: Option<Scalar>,
pub budget_exhausted: bool,
}Expand description
A tessellated patch plus the evidence needed to judge it.
Fields§
§mesh: TriMeshThe triangulated patch.
u_samples: usizeSamples used along u.
v_samples: usizeSamples used along v.
max_sagitta: Option<Scalar>Largest measured chord deviation, or None when the surface is flat
in that direction and no deviation was observable.
budget_exhausted: boolWhether the budget was exhausted before the tolerance was met. A caller measuring quantities must treat this as a failed measurement, not a coarse one.
Trait Implementations§
Source§impl Clone for TessellationOutcome
impl Clone for TessellationOutcome
Source§fn clone(&self) -> TessellationOutcome
fn clone(&self) -> TessellationOutcome
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 moreAuto Trait Implementations§
impl Freeze for TessellationOutcome
impl RefUnwindSafe for TessellationOutcome
impl Send for TessellationOutcome
impl Sync for TessellationOutcome
impl Unpin for TessellationOutcome
impl UnwindSafe for TessellationOutcome
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