Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make connected component calculation infaillible + add helper functions #291

Merged
merged 3 commits into from
Nov 26, 2024

Conversation

sebcrozet
Copy link
Member

This will be backported to the 0.17.x branch and released as version 0.17.4.

Added

  • Add TriMeshConnectedComponents::to_meshes and ::to_mesh_buffers to easily extract individual meshes from the set
    of connected components.
  • Add TriMesh::connected_component_meshes to get the connected components as meshes directly.

Modified

  • Connected-components extraction will never fail now, and no longer require the successful calculation of the mesh’s
    half-edge topology.

@sebcrozet sebcrozet merged commit a3f5e19 into master Nov 26, 2024
7 checks passed
@sebcrozet sebcrozet deleted the mesh_cc_wo_topology branch November 26, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant