14#include <lagrange/SurfaceMesh.h>
15#include <lagrange/internal/constants.h>
35 float max_angle =
static_cast<float>(lagrange::internal::pi_2);
57template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:73
size_t split_obtuse_triangles(SurfaceMesh< Scalar, Index > &mesh, SplitObtuseTrianglesOptions options={})
Iteratively split obtuse triangles by splitting their longest edge at the projection of the opposite ...
Definition split_obtuse_triangles.cpp:41
Main namespace for Lagrange.
Options for the split_obtuse_triangles function.
Definition split_obtuse_triangles.h:31
size_t max_iterations
Maximum number of split passes.
Definition split_obtuse_triangles.h:39
std::string_view active_region_attribute
Optional facet attribute (uint8_t) restricting which facets are considered obtuse candidates.
Definition split_obtuse_triangles.h:43
float max_angle
Maximum allowed interior angle in radians.
Definition split_obtuse_triangles.h:35