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

Function map_indices

tools/Wires/Inflator/SimpleInflator.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 const Float EPSILON = 1e-5;
13
14 VectorI map_indices(const VectorI& face, const VectorI& index_map) {
15 const size_t vertex_per_face = face.size();
16 VectorI index(vertex_per_face);
17 for (size_t i=0; i<vertex_per_face; i++) {
18 index[i] = index_map[face[i]];
19 }
20 return index;
21 }
22
23 MatrixIr generate_faces_connecting_loops(size_t loop_size, bool closed) {
24 size_t num_quads;

Callers 1

generate_jointMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected