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

Method is_printable

tools/Wires/Interfaces/PeriodicExploration.cpp:153–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153bool PeriodicExploration::is_printable() {
154 ParameterCommon::Variables vars;
155 MatrixFr offset = m_parameters->evaluate_offset(vars);
156 MatrixFr ori_vertices = m_wire_network->get_vertices();
157 m_wire_network->set_vertices(ori_vertices+ offset);
158 bool result = m_wire_network->is_printable();
159 m_wire_network->set_vertices(ori_vertices);
160 return result;
161}
162
163void PeriodicExploration::update_mesh() {
164 const size_t dim = m_vertices.cols();

Callers

nothing calls this directly

Calls 3

evaluate_offsetMethod · 0.80
get_verticesMethod · 0.45
set_verticesMethod · 0.45

Tested by

no test coverage detected