Struct tessellation::ManifoldDualContouring [−][src]
pub struct ManifoldDualContouring<'a, S: Real> { /* fields omitted */ }
Struct containing all the intermediary state for the different stages of tessellation.
Methods
impl<'a, S: From<f32> + Real + Float + AsUSize> ManifoldDualContouring<'a, S>
[src]
impl<'a, S: From<f32> + Real + Float + AsUSize> ManifoldDualContouring<'a, S>
pub fn new(
f: &'a ImplicitFunction<S>,
res: S,
relative_error: S
) -> ManifoldDualContouring<'a, S>
[src]
pub fn new(
f: &'a ImplicitFunction<S>,
res: S,
relative_error: S
) -> ManifoldDualContouring<'a, S>
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]
pub fn tessellate(&mut self) -> Option<Mesh<S>>
Tessellate the given function.
Trait Implementations
impl<'a, S: Clone + Real> Clone for ManifoldDualContouring<'a, S>
[src]
impl<'a, S: Clone + Real> Clone for ManifoldDualContouring<'a, S>
fn clone(&self) -> ManifoldDualContouring<'a, S>
[src]
fn clone(&self) -> ManifoldDualContouring<'a, S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<'a, S> !Send for ManifoldDualContouring<'a, S>
impl<'a, S> !Send for ManifoldDualContouring<'a, S>
impl<'a, S> !Sync for ManifoldDualContouring<'a, S>
impl<'a, S> !Sync for ManifoldDualContouring<'a, S>