| 73 | using namespace BoundaryRemsherHelper; |
| 74 | |
| 75 | BoundaryRemesher::BoundaryRemesher(const MatrixFr& vertices, const MatrixIr& faces) |
| 76 | : m_vertices(vertices), m_faces(faces) { |
| 77 | if (vertices.cols() != 3) { |
| 78 | throw NotImplementedError( |
| 79 | "Only 3D meshes are supported for remeshing"); |
| 80 | } |
| 81 | if (faces.cols() != 3) { |
| 82 | throw NotImplementedError( |
| 83 | "Only triangle meshes are supported for remeshing"); |
| 84 | } |
| 85 | assert_faces_are_valid(m_faces); |
| 86 | } |
| 87 | |
| 88 | void BoundaryRemesher::remesh( |
| 89 | IndicatorFunc bd_indicator, Float max_area) { |
nothing calls this directly
no test coverage detected