Skip to content

Connected components based on vertices #7153

Answered by stla
stla asked this question in Q&A
Discussion options

You must be logged in to vote

Completely stupid. With Filtered_face_graph and copy_face_graph using vertex_to_vertex_map, it is straightforward to transfer the vertex properties of the parent mesh to a connected component. There's no need to retrieve the face indices of the component in the parent mesh, and no need to use the vertex indices within the faces.

Replies: 8 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@afabri
Comment options

@MaelRL
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by stla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants