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

Method chain_edges

tools/MeshUtils/EdgeUtils.cpp:95–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93using namespace EdgeUtilsHelper;
94
95std::vector<VectorI> EdgeUtils::chain_edges(const MatrixIr& edges) {
96 std::vector<VectorI> chains;
97 IndexHash next = compute_next_map(edges);
98 IndexHash valance = compute_valance(edges);
99 assert_simple_edge_chains(valance);
100 trace_vertex_chains(valance, next, chains);
101 return chains;
102}
103
104DupletMap<size_t> EdgeUtils::compute_edge_face_adjacency(const MatrixIr& faces) {
105 DupletMap<size_t> adjacency;

Callers 1

chain_edgesFunction · 0.80

Calls 4

compute_next_mapFunction · 0.85
compute_valanceFunction · 0.85
trace_vertex_chainsFunction · 0.85

Tested by

no test coverage detected