Commit Graph

350 Commits

Author SHA1 Message Date
Laurent Rineau 3c02e07b23 Try to fix my last revision about cmake_policy, with CMake-2.6.x
CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
x.y.z is greater than the current CMake version.
2011-04-28 17:45:22 +00:00
Laurent Rineau c97205f085 Global handling of CMake policies (second part)
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.

Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau 0631943153 Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:36:18 +00:00
Laurent Rineau ca5c92e034 Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +00:00
Andreas Fabri 202c401d41 Add a simple benchmark 2011-04-01 14:00:13 +00:00
Monique Teillaud 8aab5c616e added Fei (Sophie) Che as developer of the new demo 2011-03-20 14:46:59 +00:00
Laurent Rineau 87996f5a12 Allow to test the Static_filters kernel alone. 2011-03-15 15:53:42 +00:00
Laurent Rineau b21de1d014 port to Windows 2011-03-15 14:44:00 +00:00
Andreas Fabri 8dfaa75cfa Add \ccPkgDemo 2011-03-08 07:54:00 +00:00
Sébastien Loriot 2c2ce21536 remove commented lines from example.
int -> size_type
2011-03-04 07:12:17 +00:00
Sébastien Loriot c1ff39de9a fix documentation from branch (code merged in r60697) 2011-02-28 17:22:38 +00:00
Sébastien Loriot 2889b6ad28 no deprecated warning in tests testing move_point 2011-02-28 13:31:13 +00:00
Laurent Rineau da95064578 Update the \ccPkgHowToCiteCgal tag for CGAL-3.8 (2011). 2011-02-24 15:21:10 +00:00
Sébastien Loriot 7605aa0891 remove generated file and remove warnings 2011-02-23 10:00:48 +00:00
Andreas Fabri be782ec8e3 Use CGAL::abs instead of fabs 2011-02-16 15:53:26 +00:00
Laurent Rineau a2daef39ab Add a comment, that explain a tricky line of code.
(Actually, seeing the code, I first thought there was a bug. But then I
understood. That is why I think the comment may be is helpful for others).
2011-02-11 10:43:45 +00:00
Laurent Rineau 7e1f88e0cb Abort operator>> as soon as one of the error flags failbit or badbit is set
on the stream. That avoids a possible very long loop if the stream format
is not the excepted one (imagine that is >> n sets n to INTMAX...)
2011-02-08 16:13:38 +00:00
Sébastien Loriot 68c3dfbfa9 add missing default constructor 2011-02-07 11:11:10 +00:00
Sébastien Loriot af6f99ed1a protect code using insert points with info by range using macro
CGAL_TRIANGULATION_3_DONT_INSERT_RANGE_OF_POINTS_WITH_INFO
2011-01-10 17:54:57 +00:00
Sébastien Loriot 3181ed9401 merge only the code to insert points with info by range from the branch
/branches/experimental-packages/Triangulation_insert_with_info/Triangulation_3
2011-01-10 16:00:51 +00:00
Monique Teillaud 48889a4c7e one more icon cleaned 2011-01-03 08:02:30 +00:00
Monique Teillaud ae537cc23e cosmetic 2011-01-02 18:08:30 +00:00
Monique Teillaud 8a312f551e improve some comments 2011-01-02 18:04:50 +00:00
Monique Teillaud fc9fa9aebb a few icons replaced by home-made icons (using ipe) 2011-01-02 17:58:54 +00:00
Laurent Rineau eea1755591 Merge the candidate branch of
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Rt::vertices_inside_conflict_zone
in trunk.
2010-12-21 16:36:04 +00:00
Monique Teillaud 33ff6e921e yet another missing file... 2010-12-21 09:30:53 +00:00
Monique Teillaud 2cfe7faeb9 added missing file 2010-12-21 09:23:10 +00:00
Monique Teillaud 543fec7ccf new T3 demo using Qt4 and QGLViewer
This demo was written in the framework of the GSoC by Fei (Sophie) Che, co-mentored by Manuel and me.
2010-12-20 13:31:30 +00:00
Monique Teillaud a363b9f1fa Geomview demos moved one floor up 2010-12-20 13:05:32 +00:00
Monique Teillaud b74c45cc26 directory for Geomview demos 2010-12-20 13:02:37 +00:00
Laurent Rineau e378f48eb2 Improve the Triangulation_3 benchmark driver program: one can now change
the kernel type just by defining macros at compile time.
2010-12-16 15:16:08 +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 40b830d3a2 - New compilation macros: SHOW_ITERATIONS and BENCH_MIN_TIME (see the source
code).

- Use EPIC as default kernel, instead of Simple_cartesian<double>!
2010-12-07 14:39:50 +00:00
Laurent Rineau 028debbd41 Fix a typo: missing space 2010-12-02 14:47:57 +00:00
Sébastien Loriot dfa20899ef derecursion of create_star_3:
I remade a benchmark and finally when using boost::thread_specific_ptr,
using a std::vector is faster than the dedicated vector-class I previously
use.
I also retry using a tuple instead of a dedicated class to store variables
useful for the emulated recursion but tuple is (on my machine) slower.

benchmark results are the following (points are randomly taken in a sphere,
time is in seconds and is the mean of 10 idendical runs)

nb points              |   1000        100000    100000    1000000   10000000
-----------------------------------------------------------------------------
trunk version          | 0.0088       0.0928     0.9865    10.216     102.99 
with vector            | 0.0096       0.0900     0.9817    10.075     102.24 
with vector and tuple  | 0.0100       0.0948     0.9981    10.219     104.58 
recursive version      | 0.0080       0.0936     0.9732    10.141     102.33
2010-11-24 07:27:04 +00:00
Laurent Rineau de25e12e8b "seen from" is better than "viewed from", is not it? 2010-11-23 14:44:33 +00:00
Sylvain Pion 39e81884bb Fix thinko "the the" 2010-09-29 11:25:29 +00:00
Laurent Rineau 77a2bead80 Add missing svn properties (keywords and eol-style). 2010-09-20 12:12:46 +00:00
Sylvain Pion fe04258e2a Remove myself from maintainer files. 2010-09-15 12:32:09 +00:00
Stéphane Tayeb ca4f9f11e8 Add an overload of insert_in_hole() in class Regular_triangulation_3 to ensure that hidden points are properly treated. 2010-08-04 15:36:38 +00:00
Stéphane Tayeb a8311bdff9 Typo: MB -> GB. 2010-08-03 12:28:52 +00:00
Sylvain Pion 348e36b3bf Formatting. 2010-07-27 14:26:42 +00:00
Sylvain Pion 8bd594a8be Simplification : the case dim==1 should work for dim==0 as well. 2010-07-27 12:55:09 +00:00
Sylvain Pion fdd4243639 nearest_vertex_in_cell() : handle dimension == 0. 2010-07-27 12:48:53 +00:00
Sylvain Pion 3db6519604 typo 2010-07-23 13:48:13 +00:00
Laurent Rineau 61a26a427b Fix the missing caption and label in HTML mode. 2010-07-13 10:16:30 +00:00
Sébastien Loriot 599b23129e missing using 2010-07-08 09:04:57 +00:00
Stéphane Tayeb 771b6f1b79 Fix bug on g++-4.5 -std=c++0x: use int[3] instead of unsigned char[3] to store vertex indices. 2010-07-07 11:26:48 +00:00
Sébastien Loriot 9567810ef8 add macro CGAL_TDS_USE_OLD_CREATE_STAR_3 in TDS_3.h so that user can
still use the old recursive version of create_star_3.
2010-06-28 14:06:14 +00:00
Sébastien Loriot 238f5a8479 change a private into protecter to have access to hidden_tester in derived class
add a using find_conflicts so that can call T3 version from class inheriting from DT or RT
2010-06-25 21:13:06 +00:00