* 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. */
| 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. |
no outgoing calls