Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] "wrong handle" error when running convex_decomposition_3

Subject: CGAL users discussion list

List archive

[cgal-discuss] "wrong handle" error when running convex_decomposition_3


Chronological Thread 
  • From: Nicholas Mario Wardhana <>
  • To:
  • Subject: [cgal-discuss] "wrong handle" error when running convex_decomposition_3
  • Date: Fri, 24 Jun 2011 23:48:20 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PTMNbK8n+fqdF+nNrb0N7BNPtqTphBEw/Vv9eeUW1MHlEcrH/OKAjnaLceVLtfd+KT GVYu4OOPqpHviF7KLJwUD84cNtLxbHUcrhM5tjIJNnndQqExxtTBpAlvbbdz7UXjF/Ti 8lkpqqg1Y7LYVQxWfpBLvvzy8ufunnMb8bu/k=

Hi all

I am trying to do convex decomposition given a closed boundary mesh.
In particular, I am using the code written in:

http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Convex_decomposition_3/Chapter_main.html

to decompose some models delivered in CGAL package. I have tested
different kernels, namely
CGAL::Exact_predicates_exact_constructions_kernel and
CGAL::Cartesian<CGAL::Gmpq>. It turned out that actually only a few
meshes can be decomposed into convex partitions, for example cross.off
and star.off, which are both of genus 0, and only possess a few
vertices, edges, and facets (each below 100). For other meshes, even
though they satisfy the precondition (I ran is_bounded() to know
whether a Nef Polyhedron is bounded, and many of these meshes are
bounded), the code fails and gives the following error:

CGAL error: assertion violation!
Expression :
File :
D:\nixx\Project\Testbed\dependencies\CGAL-3.8\include\CGAL/Convex_decomposition_3/SM_walls.h
Line : 363
Explanation: wrong handle
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html

I am wondering whether anybody knows what causes the error. FYI, I am
using CGAL 3.8, Visual Studio 2008, and Windows 7.

Thank you.

Best regards,
Nicholas

PS: sorry for sending two e-mails in less than 1 day, I just started
using this particular module and got confused



Archive powered by MHonArc 2.6.16.

Top of Page