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

Method set_importance

tools/MeshUtils/ShortEdgeRemoval.h:25–27  ·  view source on GitHub ↗

* Importance is an integer value per vertex. The vertex with higher * importance would keep its position during edge collapsing. Mid-point * is used when collapsing edge with same importance at each end. * * Vertex with negative importance is not considered during collapsing. * i.e. they will keep their original location. */

Source from the content-addressed store, hash-verified

23 * i.e. they will keep their original location.
24 */
25 void set_importance(const VectorI& importance) {
26 m_importance = importance;
27 }
28 /**
29 * Remove all edges that <= thresold
30 * If thresold=0, remove all degenerated edges.

Callers 3

__collapse_CMethod · 0.95
ensure_periodicityMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64