Commit Graph

316 Commits

Author SHA1 Message Date
Sébastien Loriot c7cdfe43ca optional::emplace was introduce in boost 1.56 2016-12-23 09:56:50 +01:00
Sébastien Loriot f5240c5640 use conversion to bool 2016-12-15 17:28:25 +01:00
Sébastien Loriot 7e8ded5fb1 fix warning 2016-12-14 11:51:26 +01:00
Andreas Fabri 0b1ee33a60 Introduce and use a new filtered predicate class for predicates having states
The exact predicate is constructed only when needed. In particular, the exact
version of the state is also constructed only when needed.

The constness of data members of predicates of Triangulation_2_filtered_traits
has been removed to allor operator= to be defined (and used by optional)
2016-12-14 11:25:06 +01:00
Laurent Rineau 26c803b6af Merge pull request #1574 from afabri/Filtered_kernel_init_double_to_avoid_warning-GF
Kernel_23: Initialize numbers in operator>>(istream&, Point/Vector/..)
2016-10-24 11:46:54 +02:00
Andreas Fabri 5ca5877104 Initialize numbers in operator>>(istream&, Point/Vector/..)
When we do not do that, and after the reading access a coordinate
some versions of g++ warn on -Wmaybe-uninitialized

The initialization costs nothing compared to the IO operation itself.
2016-10-13 09:14:17 +02:00
Sébastien Loriot 01865a2765 move unused header file to archive 2016-10-06 09:53:38 +02:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Andreas Fabri f5626d48f4 Change license header 2016-09-30 15:23:15 +02:00
Andreas Fabri 40c834a298 Move Filtered_construction from SDG_2 to Filtered_kernel 2016-09-30 15:23:15 +02:00
Laurent Rineau 1aefb3b0f3 include <CGAL/config.h>, not <CGAL/basic.h> 2016-09-30 15:23:14 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Sébastien Loriot 6b338eeb1f improve the name of projects in cmake scripts of examples 2016-09-08 00:02:55 +02:00
Guillaume Damiand 10469f9c4e Update with master 2016-05-25 10:58:55 +02:00
Sebastien Loriot 87a63332a9 Merge pull request #1079 from afabri/Kernel-no_filter_Equal_2-GF
No need for static filter for Equal_2::operator(Point_2,Point_2)
2016-05-16 08:34:56 +02:00
Sebastien Loriot ee093122bc Merge pull request #803 from afabri/Periodic_3-approx-GF
Periodic_3: Use static filters also for Epeck and make  it faster
2016-05-13 12:10:42 +02:00
Andreas Fabri cfc6416fe7 No need for static filter for Equal_2::operator(Point_2,Point_2) 2016-05-13 09:40:04 +02:00
Laurent Rineau 13bf138330 Merge pull request #902 from afabri/Triangulation_2_use_less_not_compare-GF
Ex-filtrate Compare_{x,y}_2::operator(Point_2,Point_2) and (re-gain) a factor of 2 in speed
2016-04-14 15:08:46 +02:00
Andreas Fabri 021f1b3151 Fix warning 2016-03-31 10:08:50 +02:00
Sébastien Loriot 4c29bf1b44 CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR 2016-03-24 16:33:46 +01:00
Andreas Fabri 6a8bb777d6 Add the files of the static filters 2016-03-11 12:35:10 +01:00
Andreas Fabri 3aaff54b90 Ex-filtrate Compare_{x,y}_2::operator(Point_2,Point_2) 2016-03-11 12:29:54 +01:00
Clement Jamin 9a61b23b55 Use get_default_random() instead of default_random 2016-03-09 10:35:21 +01:00
Sébastien Loriot 881e4d3199 request Core only in examples, tests and demos when really needed 2016-03-07 22:36:57 +01:00
Sébastien Loriot 2d191d6651 commit CMakeLists.txt for all examples and tests 2016-03-07 17:39:36 +01:00
Sébastien Loriot 3eefc5008c Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch' into HEAD 2016-03-02 15:23:47 +01:00
Sébastien Loriot e4a8c3d35d set Has_static_filters to true for kernel using Static_filters
this set it on in particular for EPEC
2016-02-29 22:52:24 +01:00
Sébastien Loriot 0b44d790a9 Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch' 2016-02-04 15:33:43 +01:00
Andreas Fabri 2ecb777a12 Use boost::math::float_next() to compute ulp 2016-02-04 15:31:22 +01:00
Andreas Fabri b841965dbe Use make_optional; initialize 2016-01-29 09:45:47 +01:00
Laurent Rineau c9ebad1276 Fix CGAL_LAZY_KERNEL_DEBUG and boost::optional 2016-01-25 16:53:48 +01:00
Andreas Fabri 4fec754ef8 put static into the macro and rename it 2015-12-02 20:40:15 +01:00
Andreas Fabri 0910d20ef6 fix memory leak 2015-11-13 16:19:49 +01:00
Andreas Fabri 6b2c4dd7c6 Merge branch 'CGLAL-thread_local_storage-GF-old' into CGLAL-thread_local_storage-GF 2015-11-09 14:26:42 +01:00
Andreas Fabri 38d063539a cleanup 2015-10-02 08:17:19 +02:00
Andreas Fabri 47a41ccab0 cleanup 2015-10-01 12:38:55 +02:00
Andreas Fabri 1a4faa8575 Merge branch 'CGLAL-thread_local_storage-GF-old' into CGLAL-thread_local_storage-GF 2015-10-01 10:03:04 +02:00
Andreas Fabri 3d4a1be429 WIP with Clement 2015-10-01 09:47:47 +02:00
Andreas Fabri 700f9febe7 Add 'static' 2015-09-14 12:15:27 +02:00
Andreas Fabri a14cf913e9 WIP: In Lazy.h we now have a single macro for boost and c++11 thread 2015-09-11 14:54:11 +02:00
Andreas Fabri 220651bc88 Use CGAL_THREAD_LOCAL as thread_local only comes with VC201 2015-09-04 18:09:50 +02:00
Andreas Fabri c7fbc5abca Quick hack for using VC++ thread local storage (using #ifdef BOOST_MSVC) 2015-09-04 08:41:58 +02:00
Andreas Fabri 9a3e39a330 No need for a filtered predicate for Equal_3::operator()(Vector_3,Vector_3) 2015-09-02 16:13:14 +02:00
Sébastien Loriot 50595505c4 Merge branch 'Fix_warnings-GF'
Fixes warnings in various packages

Successfully tested in CGAL-4.7-Ic-87
Approved by the release Manager
2015-07-17 14:21:21 +02:00
Sébastien Loriot 3813dd7b82 fix use of unitialized variable warning 2015-07-16 09:31:38 +02:00
Laurent Rineau f9917c487e CMake 2.8.11 2015-07-13 12:36:43 +02:00
Andreas Fabri 6fd424d94f Add operator() with 4 arguments in Static_filters/Angle_3
Approved by the release manager
2014-05-26 14:41:29 +02:00
Sébastien Loriot 56afa84492 trivial bug-fix: add a missing protector 2014-04-18 11:20:47 +02:00
Sébastien Loriot 944e30a1ea hide a test when using intersection API v1 2013-09-25 18:10:20 +02:00
Sébastien Loriot 477ce4629b Fix for using objects with Lazy with intersection API v1 2013-09-25 18:07:13 +02:00