Commit Graph

143 Commits

Author SHA1 Message Date
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
Sébastien Loriot cc383a42f5 missing typename 2010-02-26 07:25:29 +00:00
Andreas Fabri 2ae72afd4d Use a symbolic perturbation so that in the grid case all diagonals have the same orientation 2010-02-25 15:29:19 +00:00
Andreas Fabri 6cae267c0f Use the traits for comparing points, not == 2010-02-02 13:26:07 +00:00
Andreas Fabri 439ac1c864 iterators are handles 2010-02-01 14:35:40 +00:00
Sylvain Pion 85dc12f2a7 Remove empty lines at beginning and end of files
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Andreas Fabri 2353094b9e luckily Sylvain reads my commits, and luckily I switched from release to debug mode in my local testsuite 2010-01-27 16:04:42 +00:00
Andreas Fabri be700acaba Change rng; Remove random_shuffle 2010-01-27 15:22:31 +00:00
Laurent Rineau 038616e6d3 Partially revert r53691 from Andreas. 2010-01-20 15:13:34 +00:00
Andreas Fabri cda55de625 VC mixes up the local Ambient_dimension and CGAL::Ambient_dimension 2010-01-20 15:12:13 +00:00
Sylvain Pion 30e969ccff Weighted_point : add constructors from Cartesian coordinates (2D and 3D).
They hardcode weight=0 and do not provide room for an "hw" homogeneous
argument, in order to avoid any potential ambiguity.
2010-01-11 12:50:50 +00:00
Laurent Rineau 98fe0b9439 Merged revisions 53426,53428 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.5-branch

........
  r53426 | lrineau | 2009-12-15 16:14:57 +0100 (Tue, 15 Dec 2009) | 1 line
  
  Merge from trunk revisions 53423-53425 (teillaud)
........
  r53428 | lrineau | 2009-12-15 17:41:27 +0100 (Tue, 15 Dec 2009) | 5 lines
  
  - Fix a bug in Constraint_hierarchy_2 (see the big comment inserted in the
  code).
  - Add a test in the testsuite, to assure that this bug will never be
  reintroduced.
........
2009-12-15 16:58:02 +00:00
Laurent Rineau b1022ef45b Result from:
svn merge
  '^/branches/experimental-packages/Triangualtion_2-projection_traits/Triangulation_2@48316'
  '^/branches/experimental-packages/Triangulation_2-projection_traits/Triangulation_2'
  .

I have merged the Triangulation_2 part of the branch
experimental-packages/Triangulation_2-projection_traits into the trunk.

This adds two files (traits classes), and a small patch to
Contrained_triangulation_2 (pass geomtraits by const ref instead of a
copy).

T2 testsuite locally launched successfully.
2009-12-08 11:11:33 +00:00
Andreas Fabri 14d46e3e5f templatize Triangulation_line_face_circulator so that it can be used with other classes than CGAL::Triangulation_2 2009-11-16 20:05:44 +00:00
Sylvain Pion 85c2848fa3 Make use of set_adjacency(). 2009-11-02 23:02:16 +00:00
Stéphane Tayeb 8dceee4164 Add include<CGAL/assertions.h> in *_assertion files. 2009-10-07 13:16:13 +00:00
Stéphane Tayeb 770492c1c7 Use new version of script create_assertions.sh to generate *_assertions.h files.
Diffs are:
 * #undef added
 * in old files, (void)0 is replaced by static_cast<void>(0)
 * in old files, lines as "#  define CGAL_xxx_assertion 1" are added
 * in point_set_processing_assertions.h, surface_mesh_parameterization_assertions.h, surface_reconstruction_points_assertions.h, "|| defined(CGAL_NDEBUG)" is replaced by "|| defined (NDEBUG)"
 * protective macros (if any) are removed
 * included files if any (<CGAL/assertions.h>, <CGAL/trace.h>) are removed
2009-10-07 07:49:44 +00:00
Sylvain Pion 516f8d5eee Same as revision 51948 on CGAL-3.5-branch :
Rename following the converging convention to prevent future incompatibility :
  - Vertex_container -> Vertex_range
  - Face_container   -> Face_range
  - Cell_container   -> Cell_range
2009-09-15 17:12:03 +00:00
Pedro Machado Manhaes de Castro 78e138ea32 clean-up move stuffs, since they are not documented yet 2009-09-03 11:44:12 +00:00
Pedro Machado Manhaes de Castro ec84ec13f7 orientation_2 -> orientation 2009-06-17 09:00:37 +00:00
Sylvain Pion 17b9d16680 Add nearest_vertex() for Delaunay hierarchies. 2009-04-22 12:43:33 +00:00
Sylvain Pion c1ae415b18 Remove short name macros. See PR 1551. 2009-04-21 18:28:04 +00:00
Sylvain Pion 6bcc8a8e5d Document TDS::Face_container, Vertex_container, faces() and vertices().
(renamed from vertex_container() and face_container()).
2009-04-10 15:45:02 +00:00