Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CGAL ERROR: assertion violation

Subject: CGAL users discussion list

List archive

[cgal-discuss] CGAL ERROR: assertion violation


Chronological Thread 
  • From: Danyang Su <>
  • To:
  • Subject: [cgal-discuss] CGAL ERROR: assertion violation
  • Date: Sun, 03 Jan 2016 07:43:14 -0800
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:oe2x1B3JYCibDDLfsmDT+DRfVm0co7zxezQtwd8ZsegVKPad9pjvdHbS+e9qxAeQG96LtbQc06L/iOPJZy8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL2PbrnD61zMOABK3bVMzfbSrXNaKx+2MlMmMuLTrKz1SgzS8Zb4gZD6Xli728vcsvI15N6wqwQHIqHYbM85fxGdvOE7B102kvpT4r9Zf9HFbtPslssJBSq7nZL8QTLpCDT1gPXpmytfssEzvRA2e730TGl4L2k5ECg7U5Rf1GIzsmiT/v+t5niKdOJulHvgPRT2+4vIzG1fTgyAdOmth/Q==

Hi All,

I am new to CGAL and has a question regarding 3D mesh generation from a specific domain. The code file cgal_mesh.cc is attached with two data files included. If I use fandisk.off data file as the domain, it works fine. But if I use T3d_rec.off as the domain, it crashes with error information as below.

terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: !r_tr_.is_infinite(*cell_it)
File: /usr/include/CGAL/Mesh_3/Refine_cells_3.h
Line: 385
Aborted

The latter data file T3d_rec.off is just a simple hexahedron with similar scale as fandisk.off.

Could anyone let me know what is wrong with the code, especially the mesh criteria.

Thanks and regards,

Danyang

Attachment: cgal_mesh_error.zip
Description: Zip archive




Archive powered by MHonArc 2.6.18.

Top of Page