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

Class MeshCutter

tools/MeshUtils/MeshCutter.h:11–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace PyMesh {
10
11class MeshCutter {
12 public:
13 using Ptr = std::shared_ptr<MeshCutter>;
14
15 public:
16 MeshCutter(Mesh::Ptr mesh);
17
18 /**
19 * Edge separating faces with different labels are cut.
20 */
21 Mesh::Ptr cut_with_face_labels(const std::vector<size_t>& comp_ids) const;
22
23 /**
24 * Edge that has discontinuous corner attribute on each side is cut.
25 */
26 Mesh::Ptr cut_at_uv_discontinuity() const;
27
28 /**
29 * Cut along edge chains.
30 */
31 Mesh::Ptr cut_along_edges(
32 const std::vector<std::vector<int>>& edge_chains) const;
33
34 private:
35 Mesh::Ptr m_mesh;
36};
37
38}
39

Callers 1

cut_meshFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected