Line 441... |
Line 441... |
441 |
{
|
441 |
{
|
442 |
return circulate_face_ccw(m, f, (std::function<void(Walker&)>)[&](Walker& w){g(w.vertex());});
|
442 |
return circulate_face_ccw(m, f, (std::function<void(Walker&)>)[&](Walker& w){g(w.vertex());});
|
443 |
}
|
443 |
}
|
444 |
inline int circulate_face_ccw(const Manifold& m, FaceID f, std::function<void(FaceID)> g)
|
444 |
inline int circulate_face_ccw(const Manifold& m, FaceID f, std::function<void(FaceID)> g)
|
445 |
{
|
445 |
{
|
446 |
return circulate_face_ccw(m, f, (std::function<void(Walker&)>)[&](Walker& w){g(w.face());});
|
446 |
return circulate_face_ccw(m, f, (std::function<void(Walker&)>)[&](Walker& w){g(w.opp().face());});
|
447 |
}
|
447 |
}
|
448 |
inline int circulate_face_ccw(const Manifold& m, FaceID f, std::function<void(HalfEdgeID)> g)
|
448 |
inline int circulate_face_ccw(const Manifold& m, FaceID f, std::function<void(HalfEdgeID)> g)
|
449 |
{
|
449 |
{
|
450 |
return circulate_face_ccw(m, f, (std::function<void(Walker&)>)[&](Walker& w){g(w.halfedge());});
|
450 |
return circulate_face_ccw(m, f, (std::function<void(Walker&)>)[&](Walker& w){g(w.halfedge());});
|
451 |
}
|
451 |
}
|
Line 460... |
Line 460... |
460 |
{
|
460 |
{
|
461 |
return circulate_face_cw(m, f, (std::function<void(Walker&)>)[&](Walker& w){g(w.vertex());});
|
461 |
return circulate_face_cw(m, f, (std::function<void(Walker&)>)[&](Walker& w){g(w.vertex());});
|
462 |
}
|
462 |
}
|
463 |
inline int circulate_face_cw(const Manifold& m, FaceID f, std::function<void(FaceID)> g)
|
463 |
inline int circulate_face_cw(const Manifold& m, FaceID f, std::function<void(FaceID)> g)
|
464 |
{
|
464 |
{
|
465 |
return circulate_face_cw(m, f, (std::function<void(Walker&)>)[&](Walker& w){g(w.face());});
|
465 |
return circulate_face_cw(m, f, (std::function<void(Walker&)>)[&](Walker& w){g(w.opp().face());});
|
466 |
}
|
466 |
}
|
467 |
inline int circulate_face_cw(const Manifold& m, FaceID f, std::function<void(HalfEdgeID)> g)
|
467 |
inline int circulate_face_cw(const Manifold& m, FaceID f, std::function<void(HalfEdgeID)> g)
|
468 |
{
|
468 |
{
|
469 |
return circulate_face_cw(m, f, (std::function<void(Walker&)>)[&](Walker& w){g(w.halfedge());});
|
469 |
return circulate_face_cw(m, f, (std::function<void(Walker&)>)[&](Walker& w){g(w.halfedge());});
|
470 |
}
|
470 |
}
|