Commit Graph

165 Commits

Author SHA1 Message Date
Marc Glisse 19b75ba29c Remove unused lines 2011-04-12 10:08:00 +00:00
Laurent Rineau 5604fef79f Move <CGAL/apply_to_range.h> to trunk/Triangulation_2...
... to avoid that useful file to be removed by error if we remove
trunk/Qt_widget one day (but also because it is more logical).
2011-03-29 09:38:36 +00:00
Laurent Rineau fc2e05e67d Triangulation_2_projection_traits_3 is now a model of DelaunayMeshTraits_2. 2011-03-23 17:28:51 +00:00
Sébastien Loriot 6340a510c5 merge the code for Triangulation_2 to insert range of points with info
protected by macro CGAL_TRIANGULATION_2_DONT_INSERT_RANGE_OF_POINTS_WITH_INFO
2011-01-11 07:40:47 +00:00
Sébastien Loriot 3e04fb16fb merge packages related to projection traits into the trunk. 2011-01-11 07:18:36 +00:00
Sébastien Loriot 5f674516b0 add precondition to dual functions to check that objects are from the triangulation. 2010-12-23 15:55:50 +00:00
Laurent Rineau 96162627aa Merge the following small features in trunk:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Remove_cluster
  https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Structural_filtering

Merge also a partial support of:
  https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Rt::vertices_inside_conflict_zone
    (vertices_inside_conflict_zone" is added in Regular_triangulation_3,  without documenting it)
2010-12-10 17:02:10 +00:00
Laurent Rineau 1caaf5665c - triangulate_half_hole was quadratic because std::list::size is a linear
function (not with all compilers, but at least with g++-4.4).

I have a very nasty test case where list_edges.size is more than
700000. With a quadratic function, mmy cruncher computer was not even able
to insert *one* constraint in half a day.


- Remove also the unused variable vb, and the initialization of tempo
(which is re-initialized a second time later, without using its first
value).
2010-11-23 11:07:42 +00:00
Andreas Fabri a9fc8fc464 Remove unused variable 2010-11-22 07:56:00 +00:00
Laurent Rineau 168d31b6d6 Commit that feature directly to trunk:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Triangulation_2::mirror_edge%28Edge%29
Code + manual + small test

Why directly to trunk: the patch is very low risk, I have ran the test
suite and the manual testsuite, and there is already a Triangulation_2
package in candidate packages (cannot have two candidates for one package).
2010-11-16 17:27:06 +00:00
Laurent Rineau e90e28169a Apply the same patch as for Constrained_triangulation_2.h in revision 59626
to Constrained_triangulation_plus_2.h:
  |------------------------------------------------------------------------
  |r59626 | lrineau | 2010-11-10 19:42:53 +0100 (Wed, 10 Nov 2010) | 3 lines
  |
  |Fix an infinite loop in CDT<EPIC, TDS, Exact_predicates_tag>
  |Add a test, that know passes, and previously failed.
  |
  |------------------------------------------------------------------------
2010-11-12 10:39:22 +00:00
Laurent Rineau 8aaa43a8eb Cosmetic: minimize the diff between
Constrained_triangulation_2::insert_constraint 
    and
  Constrained_triangulation_plus_2::insert_subconstraint

(Add a comment, adjust the whitespace)
2010-11-12 10:26:33 +00:00
Laurent Rineau ecfd82e287 Fix an infinite loop in CDT<EPIC, TDS, Exact_predicates_tag>
Add a test, that know passes, and previously failed.
2010-11-10 18:42:53 +00:00
Laurent Rineau ea084037e3 Revert those commits:
| ------------------------------------------------------------------------
  | r59165 | afabri | 2010-10-11 15:27:39 +0200 (Mon, 11 Oct 2010) | 1 line
  | Changed paths:
  |    M /trunk/Triangulation_2/include/CGAL/Triangulation_euclidean_traits_xy_3.h
  |    M /trunk/Triangulation_2/include/CGAL/Triangulation_euclidean_traits_xz_3.h
  |    M /trunk/Triangulation_2/include/CGAL/Triangulation_euclidean_traits_yz_3.h
  | 
  | Use the renamed class which now is in the Kernel package
  | ------------------------------------------------------------------------
  | r59159 | afabri | 2010-10-11 15:14:31 +0200 (Mon, 11 Oct 2010) | 1 line
  | Changed paths:
  |    D /trunk/Triangulation_2/include/CGAL/internal/Triangulation_euclidean_traits_projected_3.h
  | 
  | Move implementation of Projection_traits from Triangulation_2 to Kernel
  | ------------------------------------------------------------------------
Now the work is in a branch.
2010-11-04 11:04:12 +00:00
Laurent Rineau 3b66f50862 Make operator<< of Weighted_point compatible with the pretty-mode (of
CGAL::set_pretty_mode).
2010-10-14 13:52:18 +00:00
Andreas Fabri ef9882a4e4 Use the renamed class which now is in the Kernel package 2010-10-11 13:27:39 +00:00
Andreas Fabri 335fd1825f Move implementation of Projection_traits from Triangulation_2 to Kernel 2010-10-11 13:14:31 +00:00
Sébastien Loriot 5bde754940 remove warnings 2010-07-15 09:14:09 +00:00
Olivier Devillers 974a5380d0 restore the old removal procedure for removal in Delaunay triangulation
if degree of removed point is > 7

The fast removal is still effective since the
specialized functions for degrees 3,4,5,6, and 7 are used.

Differences in benchmarks for high degrees between old and new was not
big anyway.
2010-07-15 07:51:12 +00:00
Sébastien Loriot acd9a77bf7 add missing requirements to be used with natural_neighbor_coordinates_2 2010-07-05 10:07:39 +00:00
Sylvain Pion 049a45f32f Remove useless default and copy ctors, and assignment operator. 2010-06-29 14:55:59 +00:00
Laurent Rineau 7254994bc3 Fix a warning (base class must be initialized). 2010-06-29 12:34:53 +00:00
Sébastien Loriot 5767088b4f merge from branches/experimental-packages/Triangulation_2_new_projection_traits:
-factorization of projection trait classes into an internal trait class
-add missing functors to Triangulation_euclidean_traits_XX_3 required by CDT with intersections.
2010-06-24 15:34:38 +00:00
Laurent Rineau 7a8b79aa18 Merged revisions 57043-57044,57048,57055,57059,57069,57071 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r57043 | sloriot | 2010-06-24 09:56:01 +0200 (Thu, 24 Jun 2010) | 3 lines
  
  bug fix: missing Compare_distance in Triangulation_euclidean_traits_XX_3.h
........
  r57044 | sloriot | 2010-06-24 10:04:32 +0200 (Thu, 24 Jun 2010) | 2 lines
  
  update CHANGES
........
  r57048 | sloriot | 2010-06-24 10:45:57 +0200 (Thu, 24 Jun 2010) | 2 lines
  
  add missing const (thx Sylvain)
........
  r57055 | sloriot | 2010-06-24 11:43:38 +0200 (Thu, 24 Jun 2010) | 2 lines
  
  update doc
........
  r57059 | lrineau | 2010-06-24 14:13:53 +0200 (Thu, 24 Jun 2010) | 2 lines
  
  Yet another typo. I hope this it the last one.
........
  r57069 | lrineau | 2010-06-24 17:12:43 +0200 (Thu, 24 Jun 2010) | 2 lines
  
  cmake 2.8rc3 is published.
........
  r57071 | lrineau | 2010-06-24 17:20:21 +0200 (Thu, 24 Jun 2010) | 2 lines
  
  Fix yet another typo about CGAL_AUTO_?LINK_(GMP|MPFR)... :-(
........
2010-06-24 15:22:12 +00:00
Andreas Fabri 4d5300f583 Finally use ptrdiff_t as return type for insert(beg, end) 2010-06-23 13:29:04 +00:00
Andreas Fabri 9eb297b9e6 Integer32 -> size_t 2010-06-22 20:44:46 +00:00
Andreas Fabri 3bdbbd1404 As the insertion of points in a regular triangulation can reduce the number of vertices we have to replace size_t with ptrdiff_t (Thank you Sylvain for pointing this out) 2010-06-21 16:12:59 +00:00
Andreas Fabri 8e75125383 int -> size_type/std::size_t 2010-06-21 13:19:03 +00:00
Sébastien Loriot 29acae75e0 correct bug:
could not call points_begin() with regular_triangulation
2010-06-14 13:49:28 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Sébastien Loriot 5d2ee0dc70 add missing using push_back
(was unable to call push_back(Constraint) defined in base class)
2010-06-08 11:25:58 +00:00
Olivier Devillers 8948095088 adding this-> 2010-06-01 07:29:36 +00:00
Olivier Devillers 9778b2d9a2 remove warning unused variable 2010-05-31 10:05:12 +00:00
Olivier Devillers 49d210b07d fixing missing this-> 2010-05-31 09:56:00 +00:00
Laurent Rineau d168a37440 Merge the branch /branches/candidate-packages/Triangulation_2
- Work from:
    Pedro Machado Manhaes de Castro <Pedro.Machado@sophia.inria.fr>
    Olivier Devillers <Olivier.Devillers@sophia.inria.fr>
- The work is:
    - fast removal for Delaunay_2 (Olivier)
    - displacement for 2D triangulation (Olivier and Pedro)
         https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Move_T2T3
2010-05-31 08:24:29 +00:00
Laurent Rineau 75cc6f6057 Better C++ compliance (errors detected by Intel Compiler strict-ansi mode) 2010-05-08 10:07:13 +00:00
Andreas Fabri b6f7fc6b47 Add this-> for Ansi compliance (why not using??) 2010-05-07 12:48:44 +00:00
Andreas Fabri e91fc65a70 Add 'using' for strict ANSI compliance 2010-05-05 12:36:24 +00:00
Andreas Fabri d0ffd795ee Add 'this->' for strict ANSI compliance 2010-05-04 11:35:23 +00:00
Sébastien Loriot ec840a9cbf add missing Using detected by intel compiler 2010-04-26 08:20:17 +00:00
Menelaos Karavelas ea5bd97d6d removed code that I had added (face data) 2010-03-30 20:03:26 +00:00
Menelaos Karavelas 0f863c0d69 moved Face_data code further down so as to use typenames that have been defined 2010-03-29 19:29:24 +00:00
Menelaos Karavelas 7a633c5ed5 added additional data and methods for the in-place edge list 2010-03-29 19:17:25 +00:00
Menelaos Karavelas 10d919fffd added data associated with each face of the triangulation. Like TDS3 the
data are to be used when computing the conflict region of an object
(applies to segments and circles) instead of using an std::map for
faces. the code is inside an #ifdef/#endif block and is activated by
defining the macro: CGAL_TDS2_DATA
2010-03-16 14:11:11 +00:00
Laurent Rineau 54a73ce38a - Determinize the Constraint_hierarchy, to determinize Mesh_2 with
C_t_plus_2<CDT>.

- [documentation] Add something about the symbolic perturbation in
  Delaunay_triangulation_2.tex
2010-03-16 11:03:14 +00:00
Laurent Rineau c2d00a4274 The perturbation must not be used in is_valid(). 2010-03-11 09:40:53 +00:00
Laurent Rineau ee6850eb2a Determinize Constraint_hierarchy_2. 2010-03-10 18:05:13 +00:00
Laurent Rineau c0524c9d24 Fix to Constrained_Delaunay_triangulation_2, after the following revision:
| ------------------------------------------------------------------------
  | r54312 | afabri | 2010-02-25 16:29:19 +0100 (Thu, 25 Feb 2010) | 1 line
  | 
  | Use a symbolic perturbation so that in the grid case all diagonals have the same orientation
  | ------------------------------------------------------------------------
2010-03-10 16:34:43 +00:00
Laurent Rineau 274143fa4d - Fix the Mesh_2 test suite: previously it was no longer testing anything!
- Fix the handling of the cdt with the triangulation plus_2.
- Add tests with CDT_plus_2.
2010-03-09 15:25:12 +00:00
Andreas Fabri e3bc2bbf10 We used a functor not required by the traits class 2010-03-01 11:03:06 +00:00