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

Method append_offsets

tools/Wires/Tiler/MixedMeshTiler.cpp:163–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void MixedMeshTiler::append_offsets(const MixedMeshTiler::Variables& vars,
164 const TilerEngine::Func& f) {
165 MatrixFr offset = m_params->evaluate_offset(vars);
166 const auto& vertices = m_unit_wire_network->get_vertices();
167 m_tiled_offsets.emplace_back(f(vertices + offset) - f(vertices));
168}
169

Callers

nothing calls this directly

Calls 2

evaluate_offsetMethod · 0.80
get_verticesMethod · 0.45

Tested by

no test coverage detected