Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Triangle_2 intersection throws exception

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Triangle_2 intersection throws exception


Chronological Thread 
  • From: Miguel Oliveira <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Triangle_2 intersection throws exception
  • Date: Tue, 06 Mar 2012 16:58:59 +0000

Hi Sebastien

I use linux ubuntu newest version

just installed with sudo apt-get install libcgal*

There are 2 packages

The library itself, says version
libcgal7 3.8-1

the dev files, says version
libcgal-dev 3.8-1



Another question: Since my problem at the begining was an exception in function
CGAL::intersection(*t0, *t1);

Can I use some kind of try catch scheme to catch the exception?

Thanks

Miguel


On 03/06/2012 04:38 PM, Sebastien Loriot (GeometryFactory) wrote:
Which CGAL version are you using?



Sebastien.

On 03/06/2012 05:24 PM, mriem wrote:
Hi Sebastien

Thanks for the quick repply

I did as you suggest, used a exact_predicates_exact_construnctors kernel

but now I geta warning  inside the same function

object_cast inside Lazy_construction_rep::operator() failed. It needs more
else if's (#1)
dynamic type of the Object :
St6vectorIN4CGAL7Point_2INS0_16Simple_cartesianINS0_11Interval_ntILb0EEEEEEESaIS6_EE

which causes my program later on to segfault.

Can you help me?

Miguel



--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/Triangle-2-intersection-throws-exception-tp4449736p4450411.html
Sent from the cgal-discuss mailing list archive at Nabble.com.







Archive powered by MHonArc 2.6.16.

Top of Page