Struct tessellation::ManifoldDualContouringImpl
[−]
[src]
pub struct ManifoldDualContouringImpl<'a, S: Real> { pub edge_grid: RefCell<HashMap<EdgeIndex, Plane<S>>>, pub vertex_octtree: Vec<Vec<Vertex<S>>>, pub vertex_index_map: HashMap<VertexIndex, usize>, // some fields omitted }
Fields
edge_grid: RefCell<HashMap<EdgeIndex, Plane<S>>>
vertex_octtree: Vec<Vec<Vertex<S>>>
vertex_index_map: HashMap<VertexIndex, usize>
Methods
impl<'a, S: From<f32> + Real + Float + CeilAsUSize> ManifoldDualContouringImpl<'a, S>
[src]
pub fn new(
f: &'a ImplicitFunction<S>,
res: S,
relative_error: S
) -> ManifoldDualContouringImpl<'a, S>
[src]
f: &'a ImplicitFunction<S>,
res: S,
relative_error: S
) -> ManifoldDualContouringImpl<'a, S>
pub fn tessellate(&mut self) -> Option<Mesh<S>>
[src]
pub fn tessellation_step1(&mut self) -> Option<DualContouringError>
[src]
pub fn compact_value_grid(&mut self)
[src]
pub fn generate_edge_grid(&mut self)
[src]
pub fn solve_qefs(&self) -> usize
[src]
pub fn generate_leaf_vertices(
&self
) -> (Vec<Vertex<S>>, HashMap<VertexIndex, usize>)
[src]
&self
) -> (Vec<Vertex<S>>, HashMap<VertexIndex, usize>)
pub fn compute_quad(&self, edge_index: EdgeIndex)
[src]
Trait Implementations
impl<'a, S: Clone + Real> Clone for ManifoldDualContouringImpl<'a, S>
[src]
fn clone(&self) -> ManifoldDualContouringImpl<'a, S>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more