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

Method compute

tools/Wires/Attributes/WireEdgeCubicSymmetryAttribute.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37using namespace WireEdgeCubicSymmetryAttributeHelper;
38
39void WireEdgeCubicSymmetryAttribute::compute(const WireNetwork& network) {
40 Operators ops = get_symmetry_operators(
41 network.get_dim(), network.center());
42 VectorI orbit_labels = get_edge_labels(
43 network.get_vertices(), network.get_edges(), ops);
44 m_values = orbit_labels.cast<Float>();
45}
46

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