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

Method compute

tools/Wires/Attributes/WireVertexCubicSymmetryAttribute.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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