Skip to content

Conversation

@MaelRL
Copy link
Member

@MaelRL MaelRL commented Jan 12, 2026

Summary of Changes

A few improvements for the experimental polygon mesh snapping functions of PMP.

TODO:

  • Add new regression tests

Release Management

  • Affected package(s): PMP
  • Feature/Small Feature (if any): n/a
  • License and copyright ownership: no change

The point is that we can then either pass a tolerance map,
or a constant fixed value.
This is because if meshes are different, the target edge is fixed.
But if we are self-snapping, the edge might move because one of
its extremity might itself have been a vertex involved in vertex-edge
snapping.
otherwise the tolerance (esp. the automatic one using 0.9 * min_inc_edge_l)
can grow too large and allow snapping to a neighbor-of-neighbor edge,
which obviously we need to avoid.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants