Subject: CGAL users discussion list
List archive
- From: Sean Hardesty <>
- To:
- Subject: [cgal-discuss] intersecting constraints
- Date: Sat, 25 Nov 2017 15:32:02 -0600
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:G0ZktxD5uFfRfF1UA8IaUyQJP3N1i/DPJgcQr6AfoPdwSP39o8bcNUDSrc9gkEXOFd2Crakb26yL6+jJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6i760TlHERr2MU95J//+B5XJp8WxzeG7vZPJMCtSgz/oWr57Kl2WpB/du9IKkMM2Mas4zF3Jq2FEdv9K1EtnIFuSm1D34cLmr80ryDhZp/90r50Iaq79ZaltFbE=
I am trying to use CGAL 4.11 to compute the difference of two meshes, using this example as a model (the relevant part of my program is essentially the same):
https://doc.cgal.org/latest/Polygon_mesh_processing/Polygon_mesh_processing_2corefinement_difference_remeshed_8cpp-example.html
https://doc.cgal.org/latest/Polygon_mesh_processing/Polygon_mesh_processing_2corefinement_difference_remeshed_8cpp-example.html
Although it works for some meshes, I often get the following error message upon calling PMP::corefine_and_compute_difference:
sorry, this triangulation does not deal with
intersecting constraints
terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: false
File: /usr/local/include/CGAL/Constrained_triangulation_2.h
Line: 853
Aborted (core dumped)
intersecting constraints
terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: false
File: /usr/local/include/CGAL/Constrained_triangulation_2.h
Line: 853
Aborted (core dumped)
I quickly get confused trying to follow through the code from PMP::corefine_and_compute_difference to instantiation of a Constrained_triangulation_2. Documentation for Constrained_triangulation_2 clearly states how to change the tag specifying how intersecting constraints are to be handled, but I see nothing similar for the corefinement functions. How does a user of the corefinement functions go about specifying this apparently essential information?
Thanks,
Sean Hardesty
- [cgal-discuss] intersecting constraints, Sean Hardesty, 11/25/2017
Archive powered by MHonArc 2.6.18.