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

Method update

tools/Wires/Misc/SymmetryChecker.cpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void SymmetryChecker::update() {
36 const size_t num_vertices = m_wire_network->get_num_vertices();
37 m_grid = HashGrid::create(1e-12, m_wire_network->get_dim());
38 VectorI vertex_indices = MatrixUtils::range<VectorI>(num_vertices);
39 m_grid->insert_multiple(vertex_indices, m_wire_network->get_vertices());
40}

Callers

nothing calls this directly

Calls 4

insert_multipleMethod · 0.80
get_num_verticesMethod · 0.45
get_dimMethod · 0.45
get_verticesMethod · 0.45

Tested by

no test coverage detected