Subject: CGAL users discussion list
List archive
[cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time
Chronological Thread
- From: stiklaz <>
- To:
- Subject: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time
- Date: Mon, 27 Apr 2020 08:22:31 -0500 (CDT)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:zMGXDBBeRJIQ9DK604D6UyQJP3N1i/DPJgcQr6AfoPdwSPryocbcNUDSrc9gkEXOFd2Cra4d1qyL4uu9CCQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagYb5+NhW7oAHeusQWhYZpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLuhSwaNTA27XvXh9R+gqxbvhyvpAFxzIHIb4+aL/d+YqHQcc8GSWZdQspdSSpMCZ68YYsVCOoBOP5Vr5Lhp1sPrhu+AROjBeLywTJPnX/2waw60+clEQ7c3Q0tBN0OsHHOo9X0MKceS/y6zK7NzTjaaf5dxDnz6I/Nch87oPGMW6p9cczLxkY0DAzFikufpZb5MDOS0+QAtXWQ4el4Ve+3lmIqrwV8riKhy8ovkIXEhYMYxkrF+Ch4xos+OMe2R1RhYdG+FZtdryGaOJVyQsMlW2xovik3xqcAuZGhZycF05AnyADFZ/ObdIiI5wrvVOeXIThmmHJoYK+zihK2/ES6xODxVdO43VVLoyZfk9TBt2gB1xnJ5ciGTvt98F2h2TGK1w3L8eFEPUE0lanfK5E7w789jZUTsUHZES/3nEX6lrOZdkIh+uSw8eTofq3mpoOAN49zkgzxLqsulda7AeghLwcOXnOb9vih1L345k30W65Kj/0zkqnBqp/WP8UbpqijAw9UyIkv8Ri/Dy31mOgfyHIIJVYAdBOchJXyIHnPJur5BLGxmQeCijBukuvaP77lC4eFemPfkbTldKRV5EtVyQ51xtdascEHQoodKe7+Dxei/OfTCQU0ZlTtn7TXTe5l34ZbYlqhR7eDOfqL41CN7+MrZeKLYd1N4WuvG70e//fryEQBtxodcK2uhMZFbiz+GP1sKUGUJ3Hrh4VYSDZYjk8FVOXvzWa6f3tWbne2Ubg742hiWo2jBIbHAIuqhe7a0Q==
Hello,
i have mesh mesh_to_cut.off
<http://cgal-discuss.949826.n4.nabble.com/file/t376212/mesh_to_cut.off>
and i want to cut two ends from it cut_end_1.off
<http://cgal-discuss.949826.n4.nabble.com/file/t376212/cut_end_1.off> and
cut_end_2.off
<http://cgal-discuss.949826.n4.nabble.com/file/t376212/cut_end_2.off> .
so i am using
CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..).
when i cut single end:
CGAL::Polygon_mesh_processing::corefine_and_compute_difference(*mesh_to_cut,
*cut_end_1, *result);
or
CGAL::Polygon_mesh_processing::corefine_and_compute_difference(*mesh_to_cut,
*cut_end_2, *result);
i get correct result mesh with single cut end.
If i try to cut second end using result mesh from firs call:
CGAL::Polygon_mesh_processing::corefine_and_compute_difference(*mesh_to_cut,
*cut_end_1, *mesh_to_cut_2nd_end);
mesh_to_cut_2nd_end.off
<http://cgal-discuss.949826.n4.nabble.com/file/t376212/mesh_to_cut_2nd_end.off>
CGAL::Polygon_mesh_processing::corefine_and_compute_difference(*mesh_to_cut_2nd_end,
*cut_end_2, *result);
i get empty result shape and return false ( tm1_minus_tm2_is_valid() ==
false )
I can not understand, what causes this failure. After first cut mesh end for
second cut is not even touched but somehow it is distorted and not valid for
second cut.
Maybe I'm doing something wrong?
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, stiklaz, 04/27/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, Sebastien Loriot (GeometryFactory), 04/27/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, stiklaz, 04/27/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, Sebastien Loriot (GeometryFactory), 04/27/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, stiklaz, 04/29/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, Sebastien Loriot (GeometryFactory), 04/29/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, stiklaz, 04/30/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, Sebastien Loriot (GeometryFactory), 04/30/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, stiklaz, 04/30/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, stiklaz, 04/30/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, Sebastien Loriot (GeometryFactory), 04/29/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, stiklaz, 04/29/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, Sebastien Loriot (GeometryFactory), 04/27/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, stiklaz, 04/27/2020
- Re: [cgal-discuss] CGAL::Polygon_mesh_processing::corefine_and_compute_difference(..) unable to calc second time, Sebastien Loriot (GeometryFactory), 04/27/2020
Archive powered by MHonArc 2.6.18.