[][src]Struct tessellation::ManifoldDualContouring

pub struct ManifoldDualContouring<'a, S: RealField> { /* fields omitted */ }

Struct containing all the intermediary state for the different stages of tessellation.

Methods

impl<'a, S: From<f32> + RealField + Float + AsUSize> ManifoldDualContouring<'a, S>[src]

pub fn new(
    f: &'a dyn ImplicitFunction<S>,
    res: S,
    relative_error: S
) -> ManifoldDualContouring<'a, S>
[src]

Constructor f: function to tessellate res: resolution relative_error: acceptable error threshold when simplifying the mesh.

pub fn tessellate(&mut self) -> Option<Mesh<S>>[src]

Tessellate the given function.

Trait Implementations

impl<'a, S: Clone + RealField> Clone for ManifoldDualContouring<'a, S>[src]

Auto Trait Implementations

impl<'a, S> !Send for ManifoldDualContouring<'a, S>

impl<'a, S> !Sync for ManifoldDualContouring<'a, S>

impl<'a, S> Unpin for ManifoldDualContouring<'a, S> where
    S: Scalar + Unpin

impl<'a, S> !UnwindSafe for ManifoldDualContouring<'a, S>

impl<'a, S> !RefUnwindSafe for ManifoldDualContouring<'a, S>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,