Skip to content

[CGAL 6.1] How to use PMP::stitch_borders(surface, CGAL::parameters::maximum_distance(0.1)); ? #8614

Answered by sloriot
ankofl asked this question in Q&A
Discussion options

You must be logged in to vote

You have to use something like this:

    std::vector< std::pair<halfedge_descriptor, halfedge_descriptor> > halfedges_to_stitch;
    PMP::collect_close_stitchable_boundary_edges(mesh, epsilon,mesh->points()), halfedges_to_stitch);
    PMP::stitch_borders(mesh, halfedges_to_stitch);

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ankofl
Comment options

Answer selected by MaelRL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants