pub struct vtkSmoothErrorMetric(/* private fields */);Expand description
Objects that compute
geometry-based error during cell tessellation according to some max angle.
It is a concrete error metric, based on a geometric criterium: a max angle between the chord passing through the midpoint and one of the endpoints and the other chord passing through the midpoint and the other endpoint of the edge. It is related to the flatness of an edge.
@sa vtkGenericCellTessellator vtkGenericSubdivisionErrorMetric
Implementations§
Source§impl vtkSmoothErrorMetric
impl vtkSmoothErrorMetric
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkSmoothErrorMetric wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkSmoothErrorMetric
impl Default for vtkSmoothErrorMetric
Auto Trait Implementations§
impl Freeze for vtkSmoothErrorMetric
impl RefUnwindSafe for vtkSmoothErrorMetric
impl !Send for vtkSmoothErrorMetric
impl !Sync for vtkSmoothErrorMetric
impl Unpin for vtkSmoothErrorMetric
impl UnwindSafe for vtkSmoothErrorMetric
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