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

Method min_edge_length

tools/MeshUtils/ShortEdgeRemoval.cpp:342–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342Float ShortEdgeRemoval::min_edge_length() const {
343 if (m_heap.size() <= 0)
344 throw RuntimeError("Edge heap is empty!");
345 return m_heap.top_value();
346}
347
348Float ShortEdgeRemoval::compute_edge_length(const Edge& e) const {
349 size_t i1 = e.get_ori_data()[0];

Callers

nothing calls this directly

Calls 3

RuntimeErrorClass · 0.85
top_valueMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected