Commit Graph

19 Commits

Author SHA1 Message Date
Sylvain Pion 2eb0d8f9e9 certainly() -> possibly(). 2008-07-14 11:16:41 +00:00
Sylvain Pion eff6efd3af CGAL_NULL and CGAL_NULL_TYPE are now constant macros, so replace them by:
- CGAL_NULL -> NULL
- CGAL_NULL_TYPE -> CGAL::Nullptr_t (typedef to const void *)
2008-07-12 21:58:52 +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 056901c578 Remove Borland workaround. 2008-01-20 22:50:29 +00:00
Sylvain Pion dc1be1898e Get rid of obsolete Window_stream (LEDA window) code. 2008-01-10 17:50:45 +00:00
Sylvain Pion 7a03b91d9e Get rid of CGAL_REP_CLASS_DEFINED 2008-01-03 19:13:08 +00:00
Sylvain Pion 360d29f72a Rename CGAL_CIRC_NULL to CGAL_NULL. 2007-12-28 15:40:36 +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
Shlomo Golubev b91276c362 add typename 2007-09-20 08:07:44 +00:00
Andreas Fabri cb33e0c4f6 temporary fix in is_simple 2007-09-19 07:43:34 +00:00
Camille Wormser ce7b960958 Correcting the bug I found in is_convex by filtering
repeated points (and adding only one equality test at 
the beginning in the generic case).
2007-06-27 13:52:53 +00:00
Sylvain Pion 70fa015c19 Allow pointers as the underlying container's iterator
(spotted by Minkowski_sum_2 test-suite on SunCC+STLport).
2007-04-18 12:12:07 +00:00
Sylvain Pion 6441bd7342 remove empty first line 2007-02-15 14:50:53 +00:00
Ron Wein a3ea8fcdb7 Rename the *.C files to *_impl.h files, and removed non-interface include
files under the subfolder Polygon_2/
2006-05-29 07:28:42 +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 06cd00bc12 Move packages to trunk root 2006-02-14 08:58:18 +00:00