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

Method get_vertex

tools/MeshUtils/ShortEdgeRemoval.cpp:331–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331VectorF ShortEdgeRemoval::get_vertex(size_t i) const {
332 const size_t num_ori_vertices = m_vertices.rows();
333 if (i<num_ori_vertices) {
334 return m_vertices.row(i);
335 } else {
336 i -= num_ori_vertices;
337 assert(i < m_new_vertices.size());
338 return m_new_vertices[i];
339 }
340}
341
342Float ShortEdgeRemoval::min_edge_length() const {
343 if (m_heap.size() <= 0)

Callers 15

getNodeMethod · 0.45
getNodeMethod · 0.45
init_boundary_lengthsMethod · 0.45
init_boundary_normalsMethod · 0.45
getNodeMethod · 0.45
getElementCenterMethod · 0.45
getNodeMethod · 0.45
getElementCenterMethod · 0.45
getNodeMethod · 0.45
getElementCenterMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by 15

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
compute_face_centerMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
check_circumradiiMethod · 0.36
TEST_FFunction · 0.36
check_incircle_radiiMethod · 0.36
check_face_areaMethod · 0.36