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

Function get_vertex_labels

tools/Wires/Attributes/WireVertexSymmetryAttribute.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 VectorI get_vertex_labels(const MatrixFr& vertices, Operators& ops) {
24 SymmetryConnectivity connectivity =
25 compute_vertex_connectivity(vertices, ops);
26 return label_connected_components(vertices.rows(), connectivity);
27 }
28}
29using namespace WireVertexSymmetryAttributeHelper;
30

Callers 1

computeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected