Commit Graph

88 Commits

Author SHA1 Message Date
Sylvain Pion 055009cc58 Remove the need for mentionning todo files and doxygen files. 2007-11-03 21:15:36 +00:00
Laurent Rineau 51693ed309 Include <cstdlib>, for the use of std::atoi. 2007-10-21 18:20:17 +00:00
Laurent Rineau 800e21e0eb Fix Mesh_2 in trunk: Mesh_2::Refine_edges_visitor<> no longer carries data.
Now, its data are references to private data of one instance of Mesh_2::Refine_edges<>,
so that they can be safely modified.
2007-10-16 14:41:34 +00:00
Laurent Rineau e42871f6d5 fix macros CGAL_MESHES_NO_OUTPUT and CGAL_MESHES_OUTPUT_ON_CERR 2007-10-16 12:01:02 +00:00
Andreas Fabri 1ddc489913 Moved ccInclude 2007-06-19 14:24:06 +00:00
Fernando Cacciola 88111fcf70 VS project files merged back 2007-06-06 15:35:17 +00:00
Laurent Rineau 1f471177ce push current version 2007-06-06 12:54:28 +00:00
Andreas Meyer 7ed1a00c04 merge manual fixed from 3.3 branch back intro trunk:
svn merge -r 38751:38754 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38773:38775 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38783:38784 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38795:38796 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38815:38816 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38827:38829 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38834:38836 ~/projects/CGAL/branches/CGAL-3.3-branch
2007-05-28 23:05:00 +00:00
Laurent Rineau b800ebce7d fix compilation errors in Mesh_3 2007-05-14 14:02:39 +00:00
Andreas Fabri 06a50b7a8a add demo 2007-05-04 15:14:37 +00:00
Andreas Meyer c1e9765ff4 manual fix: moved labels inside sectioning command 2007-04-18 14:20:12 +00:00
Sylvain Pion 56654b26f8 Spell check. 2007-04-17 15:37:09 +00:00
Andreas Fabri f27ccef585 Added bibtex entry for Mesh_2 2007-04-12 13:02:15 +00:00
Andreas Fabri ea71b8eaa1 .C ->.cpp and autolinking 2007-04-11 13:59:20 +00:00
Laurent Rineau 4d50b11e89 Bug fixed at breakfast time: incorrect use of Boost.Bimap! (stupid me)
Explanation: Double_map is supposed to be a map in one way, and a
  multimap in the reverse way.

  "La nuit porte conseil." (french proverb)
2007-03-30 08:35:10 +00:00
Sylvain Pion de20789af6 CGAL_DONT_HAVE_MEMORY_SIZER is no more. 2007-03-16 22:55:05 +00:00
Laurent Rineau aa96d1bf16 Displays a message when Boost.Bimap is used.
My testsuite platform will have Boost.Bimap support.
2007-03-15 11:47:52 +00:00
Laurent Rineau f5c76d2027 Fix for platforms with macro CGAL_DONT_HAVE_MEMORY_SIZER. 2007-03-15 10:14:59 +00:00
Laurent Rineau f1d5ec3a62 Use Boost.Bimap in Double_map.
Boost.Bimap is a bit faster (150-190% faster), and less
memory-consumer. Whereas the old Double_map implementation does not seem to
be sensitive to caching effects, the Bimap implementation seems to be
faster when run twice or more.

See the measurements bellow. Three runs of ./bench_double_map.bimap and
./bench_double_map.cgal. They are both compiled with -O2, and
./bench_double_map.bimap is compiled with -DCGAL_USE_BOOST_BIMAP
-I<path_to_boost_bimap>.

lrineau@tsetse ~/CGAL/Packages/Mesh_2/test/Mesh_2 $ for in in 1 2 3; do
  echo 'BIMAP';
  ./bench_double_map.bimap 200000 30;
  echo 'OLD DOUBLE_MAP';
 ./bench_double_map.cgal 200000 30;
done
BIMAP
Total time:           4.41933
Time for 'insert':    3.15152
Time for 'pop_front': 1.26781
Resident memory:      14843904
Virtual  memory:      26423296
OLD DOUBLE_MAP
Total time:           6.581
Time for 'insert':    4.5593
Time for 'pop_front': 2.0217
Resident memory:      18030592
Virtual  memory:      29519872
BIMAP
Total time:           3.56746
Time for 'insert':    2.49262
Time for 'pop_front': 1.07484
Resident memory:      14843904
Virtual  memory:      26427392
OLD DOUBLE_MAP
Total time:           6.76597
Time for 'insert':    4.70729
Time for 'pop_front': 2.05869
Resident memory:      18034688
Virtual  memory:      29519872
BIMAP
Total time:           3.51347
Time for 'insert':    2.43964
Time for 'pop_front': 1.07383
Resident memory:      14856192
Virtual  memory:      26427392
OLD DOUBLE_MAP
Total time:           6.74597
Time for 'insert':    4.6183
Time for 'pop_front': 2.12768
Resident memory:      17854464
Virtual  memory:      29523968
2007-03-14 18:53:37 +00:00
Laurent Rineau b4171c96e5 updated debug output, if CGAL_MESHES_DEBUG_REFINEMENT_POINTS is defined 2007-03-12 10:38:51 +00:00
Laurent Rineau 936b1a06c0 Update the range of cdt.number_of_vertices(), in test_meshing.cpp: the
usual number of steiner points has increased (I do not know why).
2007-03-12 09:58:52 +00:00
Joachim Reichel d08f6bea45 replace obsolete variable CGAL_QT_LDFLAGS by CGAL_LDFLAGS 2007-03-11 09:54:17 +00:00
Sylvain Pion b2630cd7e1 Apply trailing whites-spaces and leadgin+trailing empty-lines cleanups
to demo/**/*.h and .cpp.
2007-03-10 16:55:12 +00:00
Sylvain Pion 847c23a15e Removing leading and trailing empty lines from all example files.
Using the following Perl script:
-----------------------------------------------------
#!/usr/bin/perl

local($/) = undef;
my $text = <>;

$text =~ s/\A\n+//mg;
$text =~ s/\n+\Z/\n/mg;

print "$text";
-----------------------------------------------------
2007-03-10 16:17:17 +00:00
Sylvain Pion 6fb5cb906b Remove trailing white spaces and end of lines.
(using : perl -pi.bak -e 's/\s+$/\n/' */examples/*/*.cpp )
2007-03-10 14:59:41 +00:00
Sylvain Pion b8b87ab5a5 Actually, the "// file: example_bla.cpp" lines are not needed anymore,
since the manual tools know it.  So let's just remove them (many were
not uptodate with the filemane anyway).
2007-03-10 14:48:00 +00:00
Laurent Rineau eb080638fc Fix an error with -D_GLIBCXX_DEBUG -D_GLIBCPP_CONCEPT_CHECKS
The following (commented) line triggered the error:
    direct_func[rit->second] = rit;
The new following line fixes the bug. Actually, it is even more
efficient.
    direct_func.insert(std::make_pair(rit->second, rit));
2007-02-23 13:01:04 +00:00
Laurent Rineau 2334a6683e fix warnings 2007-02-23 07:35:57 +00:00
Laurent Rineau 198b59406e Attempt to understand the GLIBCXXDEBUG error. 2007-02-19 14:53:57 +00:00
Andreas Meyer b007a1aff2 more illustrations for packages.html 2007-01-26 19:00:48 +00:00
Sylvain Pion 40d0fb8d35 Fix all "align=center" in <img> by "align=middle". 2007-01-13 21:49:03 +00:00
Laurent Rineau 7fbb9f3e79 Test commit via WevDAV. 2006-12-14 12:14:36 +00:00
Laurent Rineau 3a33daaf8c Cosmetic changes in this file: rename "z" to "zone", and the boolean
"should_be_true" to "is_edge", so that the assertion message is not that
bad.
2006-12-07 15:57:16 +00:00
Laurent Rineau 317fcb974c Attempt to commit via WebDAV. 2006-12-05 13:38:18 +00:00
Laurent Rineau 76202639aa update changes.txt 2006-12-01 17:33:57 +00:00
Laurent Rineau 4394be3bbc - refactoring of <CGAL/Mesh_2/Refine_edges.h>:
- factorize code in Is_locally_conforming_Gabriel and
    Is_locally_conforming_Delaunay.
    - all triangulation references are now named "tr" (instead of "ct").
(Tests OK)
2006-12-01 17:32:40 +00:00
Laurent Rineau db57871ebe more points are inserted, since the Gabriel criteria is a *strict Gabriel* criteria. 2006-12-01 17:29:46 +00:00
Laurent Rineau 503e340eec Fix the Gabriel test, to be a *strict* Gabriel test: if a point lies on the
boundary of the diametral circle, then the edge is not conforming Gabriel.
2006-11-30 15:05:29 +00:00
Laurent Rineau 8ecd768345 modify comments after discussion with Jane Tournois. 2006-10-25 15:41:37 +00:00
Andreas Fabri 71b746b58c fixed min/max problem 2006-08-17 09:14:39 +00:00
Andreas Fabri 2d151a776a Fixed min max problem 2006-07-30 13:09:30 +00:00
Laurent Rineau 774e48f5f7 - fix a Rebind bug in <CGAL/Delaunay_mesh_face_base_2.h>, reported by
"Mike A. Harris" <mharris@mharris.ca> on the cgal-discuss mailing list.
- add a new test file to avoid that bug to reappear one day.
2006-07-25 09:25:45 +00:00
Laurent Rineau 6af3f83423 added dep stuff to test/Mesh_2 2006-07-25 09:13:26 +00:00
Laurent Rineau 0d1d892da1 - new debug macros:
- CGAL_MESH_3_DIRTY_DEBUG_SPHERES,
  - and CGAL_MESHES_DEBUG_REFINEMENT_POINTS.
- new macro CGAL_MESHES_OUTPUT_STREAM, which is set to std::cout by
default.
- in Mesh_2: new header <CGAL/Mesh_2/Output_stream.h>
2006-07-10 09:25:35 +00:00
Laurent Rineau b622661e15 Forgot to put in the previous log:
- major switch from .C to .cpp. Andreas's script left a lot of things that
had to be fixed manually.
2006-07-10 09:14:22 +00:00
Laurent Rineau 550d1df0ed - new debug macros:
- CGAL_MESH_3_DEBUG_INSERTION_RADIUS,
   - CGAL_MESH_2_DEBUG_INSERTION_RADIUS,
   - CGAL_MESHES_DEBUG_REFINEMENT_POINTS,
   - and CGAL_MESH_3_DIRTY_DEBUG_SPHERES.
  These are not activated by default, of course. The latter was to debug
  test/Mesh_3/combined_spheres.cpp.
2006-07-10 09:13:23 +00:00
Andreas Fabri 109c0ebda9 changed .C to .cpp in examples 2006-07-09 19:25:03 +00:00
Laurent Rineau 25ed2200cf - add the ability to set the background color, and properties of the layer
Show_in_domain. It was a bit a fun. I have done that in 10mn, with the
class Qt_widget_styled_layer!!

  I have taken a nice screenshot, with the file france.poly as input. We
  can see here the Noirmoutier island, near where I live:

    http://www.di.ens.fr/~rineau/CGAL/mesh_demo-noirmoutier.png

  Some data files lives in http://www.di.ens.fr/~rineau/CGAL/data/
2006-07-07 17:19:50 +00:00
Laurent Rineau ff49cdcd3c Oups! Fix that from revision 32217. 2006-07-05 16:37:46 +00:00
Laurent Rineau bf07fad719 new way of dealing with dependencies, in my packages 2006-07-05 16:28:34 +00:00