meshing.dual_contouring.Mesh

meshing.dual_contouring.Mesh()

Dual-contour surface mesh.

Attributes

Name Type Description
vertices Array One vertex per incidence row (per inside-corner component of each active cell), shaped (cell_count, 3). JAX values; differentiable with respect to design parameters.
faces np.ndarray Triangle indices into vertices, shaped (tri_count, 3), counterclockwise seen from outside. Concrete and frozen.
quads np.ndarray Source quads before triangulation, shaped (quad_count, 4).
normals Array Per-vertex normals (masked mean of incident Hermite unit normals), shaped (cell_count, 3). JAX values.
cells np.ndarray Lattice cell index of each vertex row, shaped (cell_count, 3). Concrete; a cell crossed by two surface sheets appears once per sheet.