|
Lagrange
|
Options for the split_obtuse_triangles function.
More...
#include <lagrange/mesh_cleanup/split_obtuse_triangles.h>
Public Attributes | |
| float | max_angle = static_cast<float>(lagrange::internal::pi_2) |
| Maximum allowed interior angle in radians. | |
| size_t | max_iterations = 5 |
| Maximum number of split passes. | |
| std::string_view | active_region_attribute = "" |
Optional facet attribute (uint8_t) restricting which facets are considered obtuse candidates. | |
Options for the split_obtuse_triangles function.
| float max_angle = static_cast<float>(lagrange::internal::pi_2) |
Maximum allowed interior angle in radians.
Triangles with any interior angle strictly greater than this threshold will be split. Default is pi/2, so any triangle with an angle larger than 90 degrees is considered obtuse.
| size_t max_iterations = 5 |
Maximum number of split passes.
Each pass projects the obtuse vertex onto the opposite edge and splits both incident triangles. Use 0 to iterate until convergence.
| std::string_view active_region_attribute = "" |
Optional facet attribute (uint8_t) restricting which facets are considered obtuse candidates.
If empty, every facet is checked.