Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Polygon_mesh_processing::corefine_and_compute_difference

Subject: CGAL users discussion list

List archive

[cgal-discuss] Polygon_mesh_processing::corefine_and_compute_difference


Chronological Thread 
  • From: Sean Hardesty <>
  • To:
  • Subject: [cgal-discuss] Polygon_mesh_processing::corefine_and_compute_difference
  • Date: Tue, 5 Dec 2017 10:22:59 -0600
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:Coh1dB3wqO7mWERTsmDT+DRfVm0co7zxezQtwd8ZsesQLvad9pjvdHbS+e9qxAeQG96Eu7QZ06L/iOPJZy8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tLw6annrn5jEbHlDzNBF+O//uMo/UlcW+ke6oqLPJZAAdvze0Z/tSJQ+6oB7Np4FCmoZrLOAxwwHFr2BUasxZwGppIRSYmBOqtZT4x4Jq7ykF46FpzMVHS6ivJ6k=

I have a collection of meshes that overlap slightly, so I am going through a loop removing overlapping pieces. It works for a while, but eventually I run into trouble. I am calling PMP::corefine_and_compute_difference (CGAL 4.11) on a pair of meshes that satisfy

!CGAL::Polygon_mesh_processing::does_self_intersect
CGAL::Polygon_mesh_processing::does_bound_a_volume

and I get the following:

terminate called after throwing an instance of 'CGAL::Assertion_exception'
  what():  CGAL ERROR: assertion violation!
Expr: hedge!=start
File: /usr/local/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Visitor.h
Line: 663
Aborted (core dumped)


They are fairly small, so I wrote them to .off format and attached them to this message. I am aware from your documentation pages that there can be problems with sequential boolean operations, so I am using the kernel with exact predicates and exact constructions. Maybe the precision in the .off format is inadequate to diagnose the problem. I would be grateful for any help that can be provided.

    Sincerely,
    Sean Hardesty

Attachment: mesh1.off
Description: Binary data

Attachment: mesh2.off
Description: Binary data




Archive powered by MHonArc 2.6.18.

Top of Page