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

Method compute

tools/Wires/Attributes/WireEdgeSymmetryAttribute.cpp:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 6

centerMethod · 0.80
get_symmetry_operatorsFunction · 0.70
get_edge_labelsFunction · 0.70
get_dimMethod · 0.45
get_verticesMethod · 0.45
get_edgesMethod · 0.45

Tested by

no test coverage detected