Remeshing routines


Remeshing pipeline are comprised of multiple phases, each having their own operation type. We group the implementation of such routines in this module.

2D remeshing pipeline
2D remeshing pipeline
Main remeshing loop
Main remeshing loop

Vertex relaxation

  • move_vertex_to_average -- move a vertex to the average position of a passed list (in the case of our pipeline, its neighbors).
  • dvr -- not yet implemented (https://github.com/LIHPC-Computational-Geometry/honeycomb/pull/212)

Cell division

The functions below use routines defined in the cell insertion module.

  • cut_inner_edge / cut_outer_edge -- cut an edge in half and build triangles from the new vertex

Cell fusion

  • collapse_edge -- collapse an edge of the mesh, fusing connectivities of vertices on both ends to a single, new vertex

Cell edition

  • swap_edge -- tip over an edge shared by two triangles

Quality

  • compute_face_skewness_2d / compute_face_skewness_3d -- compute the skewness of a given face.