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

Method export_vertices

src/IO/VEGAParser.cpp:168–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void VEGAParser::export_vertices(Float* buffer) {
169 const size_t dim = m_dim;
170 size_t count=0;
171 for (VertexList::const_iterator vi=m_vertices.begin();
172 vi != m_vertices.end(); vi++) {
173 const VectorF& v = *vi;
174 for (size_t i=0; i<dim; i++) {
175 buffer[dim * count + i] = v[i];
176 }
177 count++;
178 }
179}
180
181void VEGAParser::export_faces(int* buffer) {
182 size_t count=0;

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected