Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Avoid 'CGAL::Uncertain_conversion_exception'

Subject: CGAL users discussion list

List archive

[cgal-discuss] Avoid 'CGAL::Uncertain_conversion_exception'


Chronological Thread 
  • From: Rafat Damseh <>
  • To:
  • Subject: [cgal-discuss] Avoid 'CGAL::Uncertain_conversion_exception'
  • Date: Wed, 25 Oct 2017 09:07:37 -0700 (MST)
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Neutral ; spf=Pass
  • Ironport-phdr: 9a23:piEdvx1Q0p68w5zHsmDT+DRfVm0co7zxezQtwd8ZsesRL/ad9pjvdHbS+e9qxAeQG96Eu7QZ06L/iOPJZy8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL2v7+SPjqGdKUlWkbVI0dazJHdvZgM2zkuyz4JbOeB5ghTynYLo0Ig/lgx/Ws5wsiIVrNu4dwx7Sr3sAL+tR2WRyLFyagz7t78e3+9ho9CEG6KFpzNJJTaivJvdwdrdfFjlzaDht6Q==

I am building a SWIG interface to import CGAL's mesh skeletonization and
segmentation in Python. When I build the CGAL .cpp files with the SWIG
interface, every thing is ok. However, when calling CGAL in python I have
the following bug:

GLib=E2=80=91GIO=E2=80=91Message: Using the 'memory' GSettings backend. You=
r settings will
not be saved or shared with other applications. terminate called after
throwing an instance of 'CGAL::Uncertain_conversion_exception'
what(): Undecidable conversion of CGAL::Uncertain

I know that this is because of a thrown "Uncertain_conversion_exception"
exception in CGAL, and this needs to be interfaced in the SWIG file in order
to import CGAL in python correctly.

Can you guys help me in either:=20
1- Avoid this exception when compiling CGAL cpp files, or
2- share a SWIG code that could work as an interface to this exception

Thanks,
Rafat




--
Sent from: http://cgal-discuss.949826.n4.nabble.com/


  • [cgal-discuss] Avoid 'CGAL::Uncertain_conversion_exception', Rafat Damseh, 10/25/2017

Archive powered by MHonArc 2.6.18.

Top of Page