You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please use the following template to help us solving your issue.
Issue Details
I am using halfedges_around_source(v_source, mesh) to loop through all halfedges around a source vertex. The code is as follows:
//find out v_source...
for (halfedge_descriptor h_around : halfedges_around_source(v_source, mesh)) {
if (h_around != h_next && target(h_around, mesh) == v_next_target) {
CGAL::draw(mesh);
CGAL::Euler::flip_edge(h_around, mesh);
CGAL::draw(mesh);
}
}
when code goes into this loop, there're 3 halfedges around the source, which has id_x as 148874, 151104 and 151099 respectively, However, the code keeps iterating through the 3 halfedges and does not jump out of the loop. Is it because flip_edge somehow changed the iterator range?
May I know what shoud I do so that the code can jump out of the loop after the 3 halfedges are all iterated?
Source Code
If your issue arises by using CGAL in your own source code, please provide a minimalist example that we can compile easily to reproduce the bug. If your issue arises from using a CGAL program (demo, example, etc.), please let us know which one. Helping you solving an issue is much easier and efficient if we can reproduce it.
Environment
Operating system (Windows/Mac/Linux, 32/64 bits):
Compiler:
Release or debug mode:
Specific flags used (if any):
CGAL version:
Boost version:
Other libraries versions if used (Eigen, TBB, etc.):
The text was updated successfully, but these errors were encountered:
Please use the following template to help us solving your issue.
Issue Details
I am using halfedges_around_source(v_source, mesh) to loop through all halfedges around a source vertex. The code is as follows:
when code goes into this loop, there're 3 halfedges around the source, which has id_x as 148874, 151104 and 151099 respectively, However, the code keeps iterating through the 3 halfedges and does not jump out of the loop. Is it because
flip_edge
somehow changed the iterator range?May I know what shoud I do so that the code can jump out of the loop after the 3 halfedges are all iterated?
Source Code
If your issue arises by using CGAL in your own source code, please provide a minimalist example that we can compile easily to reproduce the bug. If your issue arises from using a CGAL program (demo, example, etc.), please let us know which one. Helping you solving an issue is much easier and efficient if we can reproduce it.
Environment
The text was updated successfully, but these errors were encountered: