Skip to main content

volume_mesh

Function volume_mesh 

Source
pub fn volume_mesh(
    vertices: &[Vector],
    indices: &[[u32; 3]],
    params: &VolumeMeshParameters,
) -> Option<VolumeMesh>
Expand description

Fills a boundary (vertices, indices) (2D polyline, 3D triangle mesh) with a simplex mesh for finite-element simulation: 2D refines a constrained Delaunay triangulation of the boundary, 3D builds a lattice cover containing it. Returns None if the boundary encloses nothing.