3drepo / pmp-library

The Polygon Mesh Processing Library
https://www.pmp-library.org
Other
0 stars 0 forks source link

SurfaceMesh::collapse() results in degenerate edges when vertices are connected by multiple edges #26

Closed sebjf closed 1 year ago

sebjf commented 1 year ago

Describe the bug SurfaceMesh::collapse() makes no consideration of parallel edges during edge collapse (i.e. edges that connect the same vertices but are not immediately connected topologically.

The is_collapse_ok() function should be updated to reflect this.