Commit Graph

288 Commits

Author SHA1 Message Date
Laurent Rineau 9587ad8c9e Fix the binary mode test: it failed on Windows. 2008-11-18 11:20:59 +00:00
Laurent Rineau 6108848419 Test and fix the input/output operator of CGAL::Triangulation_3
*in binary mode*.
2008-11-14 11:59:14 +00:00
Camille Wormser a6d18262ae adds (finite_) incident_facets(Vertex) for the 2D case,
deprecates the usage of (finite_) incident_cells in the 2D case.
2008-06-05 02:51:51 +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
Camille Wormser 646258adb8 finished rewriting the incident_*(vertex):
- all the code is factored around visit_incident_cells.
- incident_edges has been added
- finite versions of all incident_*(vertex) have been added
  thanks to a Filter template parameter
2008-04-20 05:48:13 +00:00
Sylvain Pion d9fbc22596 "Call" CGAL_For_all() on Cell_circulator to check it works as well. 2008-04-02 13:48:51 +00:00
Camille Wormser 9f664c3ac7 documentation + testsuite for incident_* 2008-04-01 15:29:50 +00:00
Andreas Meyer 20315de571 * replaced CGAL_test_assert with ::assert, instead of CGAL_assertion
* removed include/Testsuite/assert.h
2008-03-19 13:45:36 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +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
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Sylvain Pion 487a6ae509 Removes obsolete workarounds for SunPRO and MipsPRO. 2008-01-20 21:44:23 +00:00
Sylvain Pion 7049af4f77 Rename *.C to *.h. 2007-12-28 18:39:49 +00:00
Andreas Meyer 6623d525eb * replaced assert in */test/*/*.{cpp,h} with CGAL_test_assertion
* replaced #include <assert.h> with the according CGAL/Testsuite/assert.h
2007-11-07 21:35:42 +00:00
Sylvain Pion 606b7aa6f0 Add missing operator->() to Facet_circulator. 2007-08-23 12:59:06 +00:00
Sylvain Pion 85afdc3e4d - Add simple tests for the Delaunay.dual() functions.
- Add an undocumented circumcenter() template member function
  in Triangulation_ds_cell_base_3 so that we can continue to use it as default
  template parameter of the TDS, and still have .dual() working when only the
  VertexBase type is changed (e.g. for the hierarchy).
2007-08-21 13:23:33 +00:00
Sylvain Pion 1df8df5721 Allow operator== between triangulations to have 2 different TDS types. 2007-07-24 12:57:49 +00:00
Christophe Delage a7f0ead112 Triangulation_3 iterator range insert and constructors now
use spatial_sort.
Examples and demos now call range insert when possible.
2007-03-30 09:30:22 +00:00
Sylvain Pion 507482cf86 Replace boost::rand48 by boost::minstd_rand as it is more portable
(the former requires uint64_t, and pgCC does not seem to have it).
2007-03-10 11:33:22 +00:00
Sylvain Pion ae1f333ec2 Remove Makefile (dont_submitted, and not uptodate, missing one test program...).
Rename .C to .cpp.
2007-01-27 20:34:21 +00:00
Nico Kruithof 6841f56078 Adding the test where the Delaunay triangulation and a (unweighted)
regular triangulation are compared. Also added vertices_in_conflict
to Regular_triangulation_3.h for that.
2006-09-12 07:31:24 +00:00
Nico Kruithof 386b39ab4c Weighted_points that are inserted multiple times in the regular
triangulation are discarded (instead of being inserted). This is
consistent with the behaviour of Triangulation_3 and
Delaunay_triangulation_3. See also change in the docs by Monique.
2006-08-25 09:48:07 +00:00
Nico Kruithof 7ce6d89b94 Adding the simplex class to the Triangulation_3 package. 2006-08-09 15:25:13 +00:00
Sylvain Pion cf872de855 - Add a new TCellBase model Triangulation_cell_base_with_circumcenter_3,
which stores the circumcenter.
- Delaunay.dual() now calls the .circumcenter() function of the cell
  to retrieve it.
- It implies a new requirement on the TCellBase, for the Delaunay::dual()
  case, hence the default model T_cell_base_3 provides a new function
  (and the concept is updated).
2006-08-04 18:23:08 +00:00
Sylvain Pion 102341c2c6 Delaunay :
- add function .dual_support(Cell_handle, int) returning a Line_3.
- replace the requirements Plane_3, Construct_perpendicular_line_3
  and Construct_plane_3 by the new Construct_equi_distant_line_3.
2006-08-04 15:21:57 +00:00
Laurent Rineau 780195eb9f Revert incorrect revision 32406 for test/Triangulation_3/Makefile 2006-07-12 00:04:18 +00:00
Laurent Rineau 7f053b6b83 - fixed operators << and >> for triangulations, if the stream is in binary
mode
- fixed only if dimension()==3. If dimension()<3, tds.print_cells() should
  be corrected. The handling of the dimension is ugly (copy-pasting). I
  prefere not to fix that code.

Note 1: Test suite is ok.
Note 2: binary i/o operators are tested in Mesh_3
2006-07-12 00:00:48 +00:00
Marc Glisse b13e3b5ec0 Last round of missing std:: before 3.2 (Andreas permission) 2006-04-19 16:56:12 +00:00
Andreas Fabri bb24e0097e Added #ifdef CGAL_USE_GMP 2006-03-29 15:05:59 +00:00
Joachim Reichel f582718758 rename create_makefile to cgal_create_makefile to avoid name clashes,
adjust all occurences of create_makefile and create\_makefile in the entire
repository (well, trunk only)
2006-03-15 22:10:02 +00:00
Sylvain Pion a9e6fec929 - Add missing operator==(NULL) for Facet_circulator. 2006-03-15 09:41:59 +00:00
Sylvain Pion f5ecb3ff85 - I love emacs and its users... 2006-03-15 09:19:23 +00:00
Andreas Fabri ce828e7398 Instead of forwarding it is enough to ot use using 2006-03-13 10:19:25 +00:00
Andreas Fabri c2fedb4fb9 Forward call to base class as using directive fails for VC7 in Regular_triangulation_filtered_traits_3.h 2006-03-13 09:47:28 +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 ee07ad352c Move packages to trunk root 2006-02-14 08:58:20 +00:00