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

Function append

tools/Wires/Inflator/PeriodicInflator2D.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73 template<typename M, typename T>
74 void append(const M& vertices, std::list<T>& flattened) {
75 const size_t rows = vertices.rows();
76 const size_t cols = vertices.cols();
77 for (size_t i=0; i<rows; i++) {
78 for (size_t j=0; j<cols; j++) {
79 flattened.push_back(vertices.coeff(i,j));
80 }
81 }
82 }
83}
84
85using namespace PeriodicInflator2DHelper;

Callers 2

clip_to_center_cellMethod · 0.85
clip_phantom_meshMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected