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

Method compute

tools/Wires/Attributes/WireVertexSymmetryAttribute.cpp:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29using namespace WireVertexSymmetryAttributeHelper;
30
31void WireVertexSymmetryAttribute::compute(const WireNetwork& network) {
32 Operators ops = get_symmetry_operators(
33 network.get_dim(), network.center());
34 VectorI orbit_labels = get_vertex_labels(network.get_vertices(), ops);
35 m_values = orbit_labels.cast<Float>();
36}
37

Callers

nothing calls this directly

Calls 5

centerMethod · 0.80
get_symmetry_operatorsFunction · 0.70
get_vertex_labelsFunction · 0.70
get_dimMethod · 0.45
get_verticesMethod · 0.45

Tested by

no test coverage detected