Commit Graph

287 Commits

Author SHA1 Message Date
Sylvain Pion aab902279e - Added const.
- New test in is_valid().
- Call is_valid() in insert() and remove() in an expensive_asssertion().
2001-03-06 12:54:45 +00:00
Sylvain Pion a676f51cdb - Remove useless includes of <CGAL/triple.h>. 2001-02-22 10:59:27 +00:00
Sylvain Pion 7f32b819ee - Use the kernel's function object for the cross product. 2001-02-22 10:25:49 +00:00
Sylvain Pion 54cb1d838b - Cleanup. 2001-02-20 15:32:21 +00:00
Sylvain Pion d3a288bbb1 - Test if start==NULL before passing it to locate()... 2001-02-19 17:08:46 +00:00
Sylvain Pion 2f5007dd4f - Missing typenames and typedef. 2001-02-19 14:59:08 +00:00
Sylvain Pion d52800b180 - Follow-up on the Borland workaround. 2001-02-19 10:44:12 +00:00
Andreas Fabri d8d1657bfc - Remove "const" to please Borland. 2001-02-15 13:42:29 +00:00
Andreas Fabri 5149520fd1 - Fixes for Borland. 2001-02-15 13:31:23 +00:00
Sylvain Pion afa2338689 - Remove some old style casts. 2001-02-14 16:54:15 +00:00
Sylvain Pion dd471c2601 - Formatting. 2001-02-13 18:45:09 +00:00
Sylvain Pion 152c9d3597 - Triangulation_hierarchy<>. Initial version that "only" compiles. 2001-02-13 18:12:50 +00:00
Sylvain Pion 60646388ac - New functionality required by the hierarchy : Les_distance_to_point_3. 2001-02-13 18:10:56 +00:00
Sylvain Pion e6575265a8 - Add typedef value_type. 2001-02-13 18:10:31 +00:00
Sylvain Pion b9710d2175 - Make functions static.
- Remove some old casts.
2001-02-09 17:09:28 +00:00
Sylvain Pion d73961f43b - it++ -> ++it for efficiency. 2001-02-09 16:41:05 +00:00
Sylvain Pion 45b0c0d7f0 - Cleanup. 2001-02-09 16:29:44 +00:00
Sylvain Pion 70607c02ea - Remove temporary #ifdef SYL...
- Formatting.
2001-02-08 16:02:06 +00:00
Sylvain Pion 2c06bbefa5 - Use std::distance(). 2001-02-08 15:37:34 +00:00
Sylvain Pion c41a382d3f - Make "int i" in for() scope only. 2001-02-08 13:10:34 +00:00
Sylvain Pion 59650f5b73 - Remove useless std::less<>. 2001-02-08 12:59:33 +00:00
Sylvain Pion 66c1080d68 - Re-add default ctor. 2001-02-08 12:43:37 +00:00
Sylvain Pion 1d0b3f3ed6 - flags -> in_conflict_flag.
- formatting.
- "unsed variable" warnings.
2001-02-08 12:42:06 +00:00
Andreas Fabri 3201f97d92 look at all incident edges and not only at those that
are at the same time cospheric;
fixed a bug there. That's why it was commented out
2001-01-25 12:20:09 +00:00
Andreas Fabri 893f9ef06d Made some simplifications as discussed at code review with Monique 2001-01-23 13:55:04 +00:00
Andreas Fabri a2be3eba69 cleanup 2001-01-22 08:35:16 +00:00
Andreas Fabri a8551dc4c6 needed for Delaunay_3::remove_vertex
written in the STL way
2001-01-19 11:58:34 +00:00
Andreas Fabri 65f149d9b7 This class is needed in the ear-filling algorithm 2001-01-19 09:29:43 +00:00
Andreas Fabri 9f767c2f05 Added the algorithm that fills the hole with ears 2001-01-19 09:26:36 +00:00
Monique Teillaud e53e200ff6 set_flags and get_flags private 2001-01-18 14:56:03 +00:00
Andreas Fabri 97fe309b52 added dummy_for_windows to cheat the MSV++ compiler 2001-01-09 16:26:06 +00:00
Andreas Fabri baa46de95a removed Point_2 include statement and typedef as the coplanar_.. predicates
are no longer in the traits
2001-01-09 10:48:33 +00:00
Sylvain Pion 3e84840766 - flags belongs to ds_cell, not cell_base. 2001-01-07 00:15:49 +00:00
Sylvain Pion e249619e14 - Use #ifdef SYL for further incompatible optimisations.
- clear() cleanup...
- various formatting.
2001-01-01 21:48:48 +00:00
Sylvain Pion 520d68b04a - Formatting. 2001-01-01 20:37:44 +00:00
Sylvain Pion ba207da12a - Formatting.
- Added the find() -> get_flags() optimization in commentary.
2001-01-01 15:29:08 +00:00
Sylvain Pion 56ceb27c9e - Revert patch about "prev" argument to find_conflicts_3() since there will
be a better way to do it.
- Added in commentary, the better solution which replaces the various find()
  calls by get_flags().
2001-01-01 15:26:38 +00:00
Sylvain Pion c958f69b14 - Added "int flags;".
Unused at the moment, but it's faster due to cache effects, so...
2001-01-01 02:47:18 +00:00
Sylvain Pion e2f0eff83c - Minor optimization. 2001-01-01 01:52:49 +00:00
Sylvain Pion 31de30c710 - Minor optimization of find_conflicts_3(). 2001-01-01 00:53:26 +00:00
Sylvain Pion e2d8fd7adb - std::set<void *> replaced by a typedef : Conflict_set to later allow to
change it to hash_set<>.
- Added "const" to a few functions taking this argument.
2000-12-31 22:31:47 +00:00
Sylvain Pion b9b7ba3a31 - "g++ -Winline" tells us it can't inline rand_4() because it has static
variables, so we make them static variables of the class instead.
2000-12-31 22:14:25 +00:00
Sylvain Pion 70a4d1688b - Suppress second parameter to std::set<> since it's the default. 2000-12-31 20:08:24 +00:00
Sylvain Pion 79233eaec8 - find_conflicts_[23]() optimization. 2000-12-31 19:21:45 +00:00
Sylvain Pion 1bcbd1d26d - violates() optimization (replace copies of points by pointers). 2000-12-31 17:43:39 +00:00
Sylvain Pion f88140a857 - Remove superfluous "inline". 2000-12-30 22:27:27 +00:00
Andreas Fabri 1ff466bb6e undo added so that the remove fails gracefully, instead of invalidating the triangulation 2000-12-22 15:07:22 +00:00
Andreas Fabri 4e2ce7ad9e Added a local function that will one day be in the kernel 2000-12-22 15:05:21 +00:00
Andreas Fabri 5d1542bb54 Aded type Point for backward compatibility 2000-12-22 14:21:46 +00:00
Andreas Fabri 9064c291e1 made function operator calls const& 2000-12-22 12:47:14 +00:00