Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Delaunay triangulation problem

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Delaunay triangulation problem


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] Delaunay triangulation problem
  • Date: Fri, 09 Nov 2007 09:24:33 +0100

Seungtaik Oh a écrit :
Hi, all

I am working on something that highly depends on Delaunay
triangulation. However, there comes a bus error when I try to insert
points by the method insert( first iterator, end iterator ). A strange
thing is that the error is only for the case of optimization. No bus
errors without optimization. I am writing the codes on MacOS 10.4.10
and CGAL-3-3-1. What's wrong?

My code looks like this :

==========================================
std::vector<Point> samplePoint;
readSamplingPoints( samplePoint );

// triangulate( 3d Delaunay triangulation)

CGAL::Delaunay_triangulation_3<K> T;
T.insert( samplingPoint.begin(), samplingPoint.end() ) );
===========================================

Hard to tell without saying either a backtrace or the code of
readSamplingPoints.
That said, I know that g++-4.0 on Mac has some bugs when optimizing.
One option for you is to try g++-4.2 which is available in Fink.

--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page