Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Bug: Mesh generation crash

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Bug: Mesh generation crash


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Bug: Mesh generation crash
  • Date: Fri, 29 Jun 2012 19:24:45 +0200
  • Organization: GeometryFactory

Le vendredi 29 juin 2012 10:10:08 Zohar a écrit :
> This one is with ct3t :(
> I wrote a small util that builds a cage around a polyhedron. Using AABB tree
> I create an implicit function of a surface distanced r from the poly. I use
> the ct3t to get the tets of the domain.
> There are some polys that it crashes with:
>
> CGAL error: assertion violation!
> Expression : !r_tr_.is_infinite(*cell_it)
> File : c:\program files
> (x86)\cgal-4.0-beta1\include\cgal\mesh_3\refine_cells_3.h
> Line : 385
> Explanation:
> Refer to the bug-reporting instructions at
> http://www.cgal.org/bug_report.html
>
> I don't even mention c2t3 crashes, it seems obsolete package to me, but I
> can provide the error for it as well.

Your report is rather fuzzy. From the symptom you report, I can only try a
guess. Maybe your implicit function has the wrong sign: it must be negative
for the interior of the domain, and positive for the exterior.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page