MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / BoundaryRemesher

Method BoundaryRemesher

tools/Wires/Misc/BoundaryRemesher.cpp:75–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73using namespace BoundaryRemsherHelper;
74
75BoundaryRemesher::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
88void BoundaryRemesher::remesh(
89 IndicatorFunc bd_indicator, Float max_area) {

Callers

nothing calls this directly

Calls 2

NotImplementedErrorClass · 0.85
assert_faces_are_validFunction · 0.85

Tested by

no test coverage detected