Module remeshing

Source
Expand description

remeshing routine components

This module contains all the code used in usual remeshing loops, among which are:

  • vertex relaxation routines
  • cell division routines
  • cell fusion routines
  • swap-based cell edition routines

Enums§

ClassificationError
Error-modeling enum for classification issues.
EdgeSwapError
Error-modeling enum for edge swap routine.

Functions§

capture_geometry
Capture the geometry specified as input using the grisubal algorithm.
classify_capture
Classify all entities of a mesh on a default geometry.
collapse_edge
Collapse an edge separating two triangles.
cut_inner_edge
Cut an edge in half and build triangles from the new vertex.
cut_outer_edge
Cut an edge in half and build triangles from the new vertex.
move_vertex_to_average
Move a vertex to the average of the others’ values.
swap_edge
Tip over an edge shared by two triangles.