14#include <lagrange/SurfaceMesh.h>
16namespace lagrange::remeshing_im {
21enum class PosyType : uint8_t { Triangle = 3, Quad = 4 };
26enum class RosyType : uint8_t { Line = 2, Cross = 4, Hex = 6 };
43 PosyType
posy = PosyType::Quad;
46 RosyType
rosy = RosyType::Cross;
75template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:66
Options for the remeshing process.
Definition remesh.h:32
bool deterministic
If true, the remeshing process will be deterministic.
Definition remesh.h:37
size_t num_smooth_iter
Number of smoothing iterations.
Definition remesh.h:59
PosyType posy
Positional symmetry type. Options: Triangle (3), Quad (4)
Definition remesh.h:43
size_t target_num_facets
Target number of facets in the remeshed output.
Definition remesh.h:34
RosyType rosy
Rotational symmetry type. Options: Line (2), Cross (4), Hex (6)
Definition remesh.h:46
bool extrinsic
Use extrinsic metrics when aligning cross field.
Definition remesh.h:56
size_t knn_points
Number of nearest neighbors to use when processing point clouds.
Definition remesh.h:40
float crease_angle
Crease angle in degrees.
Definition remesh.h:50
bool align_to_boundaries
Whether to align the remeshed output to the input mesh boundaries.
Definition remesh.h:53