14#include <lagrange/SurfaceMesh.h>
37template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition: SurfaceMesh.h:66
Main namespace for Lagrange.
Definition: AABBIGL.h:30
ReorderingMethod
Mesh reordering method to apply before decimation.
Definition: reorder_mesh.h:21
@ Lexicographic
Sort vertices/facets lexicographically.
@ None
Do not reorder mesh vertices/facets.
@ Hilbert
Spatial sort vertices/facets using Hilbert curve.
@ Morton
Spatial sort vertices/facets using Morton encoding.
void reorder_mesh(SurfaceMesh< Scalar, Index > &mesh, ReorderingMethod method)
Mesh reordering to improve cache locality.
Definition: reorder_mesh.cpp:178