Commit Graph

24 Commits

Author SHA1 Message Date
Sylvain Pion 8e25ac82d3 Fixes after the tuples changes. 2008-07-27 12:01:51 +00:00
Sylvain Pion a5f006da60 Replace CGAL::Quadruple by boost::tuple. 2008-07-25 14:28:01 +00:00
Sylvain Pion 2eb0d8f9e9 certainly() -> possibly(). 2008-07-14 11:16:41 +00:00
Sylvain Pion 9d7a609ff2 Make assertions trigger an error only for *certain* conditions (using CGAL::certainly()).
This is useful for interval arithmetic code.
(replay of r44002 with the header order hopefully fixed)
2008-07-10 21:49:17 +00:00
Sylvain Pion 2b4ebf01f7 Undo r44002 as it's buggy 2008-07-06 20:47:29 +00:00
Sylvain Pion 514a17ad4f Improve the interaction of assertions and interval computations.
Things like "CGAL_assertion(denominator != 0)" produced assertion failures for no gain.
So now, the assertion is triggered only if the condition is certain, using CGAL::certainly().
That is, change the following in all assertion files :
  ((EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
to :
  (CGAL::certainly(EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
2008-07-06 17:05:47 +00:00
Sylvain Pion 53d1ee3d7d Use <cfloat> more consistently instead of <float.h>. 2008-01-18 20:19:17 +00:00
Sylvain Pion d49e006c53 Remove default argument "0" to calls to assertion_fail() et al,
as the default is now the empty string "".
It should fix the problem that we have lost the assertion messages
(seeing "what():  basic_string::_S_construct NULL not valid" instead),
for packages that use package-specific assertion macros.
2007-12-21 21:58:27 +00:00
Abdelkrim Mebarki 6d6970d681 Fix bug : check the length of the new segment inserted in the streamline 2007-11-15 16:13:32 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Sylvain Pion ac1af9878b Rename some variables to avoid shadowing warnings with SunCC. 2007-04-18 08:54:16 +00:00
Abdelkrim Mebarki a3b98f6b9d fix old_point variable initialization bug 2007-03-28 09:16:49 +00:00
Andreas Fabri c6bc9be9d9 removed unused parameters 2007-03-17 09:27:09 +00:00
Abdelkrim Mebarki affd494daf remove some output statements 2006-09-07 12:40:14 +00:00
Andreas Fabri 5440dc1c11 Fixed min max problem 2006-07-31 23:04:47 +00:00
Marc Glisse b13e3b5ec0 Last round of missing std:: before 3.2 (Andreas permission) 2006-04-19 16:56:12 +00:00
Abdelkrim Mebarki 7f668feca0 Fix a bug in the interpolation scheme 2006-03-21 13:48:32 +00:00
Abdelkrim Mebarki 85aa5e638f bug fixed : eliminate duplicate seed points in the streamlines 2006-03-10 14:04:42 +00:00
Abdelkrim Mebarki 729a5a2d6d update 2006-02-27 23:04:10 +00:00
Abdelkrim Mebarki fc7021562e squared_dist was used in place of dist 2006-02-27 16:57:08 +00:00
Abdelkrim Mebarki e0bc3c6282 initialize data member 2006-02-27 14:46:50 +00:00
Laurent Saboret db6a8f948c Change CVS keywords to SVN style 2006-02-16 14:30:13 +00:00
Laurent Saboret 1aad55d4cb Change CVS keywords to SVN style 2006-02-14 10:08:15 +00:00
Laurent Saboret b2a1efbbfc Move packages to trunk root 2006-02-14 08:58:19 +00:00