Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] minkowski sum issue

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] minkowski sum issue


Chronological Thread 
  • From:
  • To:
  • Subject: Re: [cgal-discuss] minkowski sum issue
  • Date: Sat, 22 Jan 2011 10:14:39 +0200

I was able to reproduce the bug with the latest release of CGAL.
Thanks for reporting it and providing a small manageable program.
We'll fix it and let you know.

Quoting tofa
<>:


When calling minkowski_sum_2 CGAL hits assertion cv.is_in_x_range. I'm using
CGAL 3.5.1-1 preinstalled on ubuntu.
The following is the output of the small program that reproduces the bug (if
it is a bug), which I attach here
http://cgal-discuss.949826.n4.nabble.com/file/n3225522/main.cpp main.cpp .

tomas@zlatan:~/tomologic/cgal_bug
$ make && ./cgal_bug
g++ -fPIC -c -frounding-math -g -I/usr/lib/jvm/java-6-sun/include
-I/usr/lib/jvm/java-6-sun/include/linux main.cpp -o main.o
g++ -Wl,-soname,cgal_bug -o cgal_bug -L/lib -Wl,-rpath,/lib -lCGAL -lmpfr
-lgmp -lCGAL_Core -lboost_thread-mt main.o
The polygon a is simple.
The polygon b is simple.
The polygon a is not convex.
The polygon b is not convex.
The polygon a is not clockwise oriented.
The polygon b is not clockwise oriented.
terminate called after throwing an instance of
'CGAL::Precondition_exception'
what(): CGAL ERROR: precondition violation!
Expr: cv.is_in_x_range (p)
File: /usr/include/CGAL/Arr_segment_traits_2.h
Line: 486
Aborted
tomas@zlatan:~/tomologic/cgal_bug
--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/minkowski-sum-issue-tp3225522p3225522.html
Sent from the cgal-discuss mailing list archive at Nabble.com.

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss






Archive powered by MHonArc 2.6.16.

Top of Page