Commit Graph

199 Commits

Author SHA1 Message Date
Sylvain Pion 48b97a5e9b Remove obsolete Makefiles (and therefore empty dont_submit files). 2008-07-24 18:14:04 +00:00
Sylvain Pion dc3bf72707 Remove changes.txt files. 2008-07-24 17:47:16 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Sylvain Pion 5ee8c389fb Use Kernel_traits. 2008-07-17 08:34:39 +00:00
Sylvain Pion bf1614bfa1 Use the new kernel typedefs K::Comparison_result and co. 2008-07-17 08:10:22 +00:00
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
Laurent Rineau 488775954d In Constrained_triangulation_plus_2, rename the method "copy" into
"copy_triangulation", so that the operator= of 
Triangulation_hierarchy_2<Constrained_triangulation_plus_2<...>> can do the
right job.
2008-06-27 15:51:48 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Sylvain Pion 1d8779b171 Rename the following functions:
det2x2_by_formula
  det3x3_by_formula
  det4x4_by_formula
  det5x5_by_formula
  det6x6_by_formula
to:
  determinant

How cute...  a name independent of the dimension, and even readable !
2008-04-09 13:35:34 +00:00
Sylvain Pion b0f2c77fdc Remove casts to Oriented_side.
They are useless since we merged the various enum types.
2008-04-09 12:35:10 +00:00
Sylvain Pion b740e90de0 Rename the following functions:
sign_of_determinant2x2
  sign_of_determinant3x3
  sign_of_determinant4x4
  sign_of_determinant5x5
  sign_of_determinant6x6
to:
  sign_of_determinant

So that we have less dimension-dependent namings, at least internally...
2008-04-09 12:20:25 +00:00
Sylvain Pion c3ee0c0087 Remove CGAL_T2_USE_ITERATOR_AS_HANDLE and CGAL_T3_USE_ITERATOR_AS_HANDLE
as they are now always defined and things work.
2008-04-03 12:14:58 +00:00
Pedro Machado Manhaes de Castro 44f0158408 A small precondition 2008-03-31 17:33:48 +00:00
Pedro Machado Manhaes de Castro 64ae70e699 convex hull do not matter (even in this case) + little optimization 2008-03-21 15:32:54 +00:00
Sylvain Pion 1d47b96e3c Remove more useless enum_cast<>. 2008-03-20 16:46:25 +00:00
Pedro Machado Manhaes de Castro 55b1c90e6b little optimization 2008-03-14 12:46:43 +00:00
Pedro Machado Manhaes de Castro c50c75af92 little optimization for vertices of degree 3 2008-03-13 12:31:52 +00:00
Laurent Rineau e66f0fff30 Fix the error
"include/CGAL/_test_cls_delaunay_triangulation_2.h", line 212: Error: The function "rand" must have a prototype.
detected by Sun CC.
2008-03-11 11:41:03 +00:00
Pedro Machado Manhaes de Castro 960f122b28 Optimizing move() 2008-03-10 11:07:15 +00:00
Pedro Machado Manhaes de Castro 606f62f2e4 Optimizing move() 2008-03-10 11:06:44 +00:00
Pedro Machado Manhaes de Castro 5924c97751 well_oriented() feets better in Triangulation_2.h 2008-03-06 12:05:36 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Pedro Machado Manhaes de Castro 927812ecad (not yet) 2008-03-05 15:38:33 +00:00
Pedro Machado Manhaes de Castro 1f8b9028ab trfixing 2008-03-05 15:20:46 +00:00
Pedro Machado Manhaes de Castro 879235ee1c Optimization on move() (that works only for Triangulation_2) 2008-02-28 16:00:38 +00:00
Pedro Machado Manhaes de Castro 8e40af475e Flexibility 2008-02-26 15:38:19 +00:00
Pedro Machado Manhaes de Castro a02fa7d3b5 flexibility 2008-02-26 15:37:55 +00:00
Pedro Machado Manhaes de Castro a79f32b497 fixing move(It, It) 2008-02-22 14:05:30 +00:00
Pedro Machado Manhaes de Castro 418185aa44 fixing move(It, It) 2008-02-22 14:05:01 +00:00
Pedro Machado Manhaes de Castro a2d2170c3d Option of hiding the move() tests (because of triangulation_hierarchy) 2008-02-21 09:41:53 +00:00
Pedro Machado Manhaes de Castro 6080832b6e move() is not yet implemented for hierarchy, so we have to hide those tests from it. 2008-02-21 09:41:08 +00:00
Pedro Machado Manhaes de Castro 253bbdc2f6 Adding a testsuite for the method move(). 2008-02-20 13:13:48 +00:00
Pedro Machado Manhaes de Castro 38e5b4ad0f Adding a testsuite for the move() method. 2008-02-20 13:12:32 +00:00
Pedro Machado Manhaes de Castro 8c07487188 Adding a method that moves a vertex from its coordinate to another one given by an arg. point. Also including a method that moves a set of points by giving a list of pairs (Vertex, Point). 2008-02-20 13:10:05 +00:00
Pedro Machado Manhaes de Castro 2cc11539f5 Adding a method that moves a vertex from its place to another one located at the arg. point coordinate. Also including a version that moves a set of points, giving a list of (vertex_handle, point). 2008-02-20 13:05:56 +00:00
Pedro Machado Manhaes de Castro 55c65d6efc Adding a method that changes the dimension of the data structure from 2D to 1D. 2008-02-20 13:03:58 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Trung Nguyen ef6370cf40 Retrivied from version 42050 and fixed the bug 2008-02-08 10:20:17 +00:00
Trung Nguyen fcbf9fb2ff Bug fix: overload the finite_vertex function 2008-02-08 09:23:00 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Sylvain Pion 6a9740d043 Remove obsolete workarounds for __sgi. 2008-01-20 23:09:58 +00:00
Sylvain Pion d437e38edf Remove comment about Borland, it's nice to have the Rebind here anyway. 2008-01-20 22:47:22 +00:00
Sylvain Pion 7f21002a5a Remove comment about Borland. It's nice to have the Rebind here anyway. 2008-01-20 22:46:28 +00:00
Sylvain Pion eb945bae48 SUNPRO workaround not needed anymore 2008-01-20 20:47:32 +00:00
Sylvain Pion 838dab23ab Add missing #include <cassert> . 2008-01-20 19:13:05 +00:00