Commit Graph

957 Commits

Author SHA1 Message Date
Andreas Fabri 9fd4e03a0d Use Prevent_deref 2016-12-29 14:06:04 +01:00
Andreas Fabri b4d1f8f0f7 Use Prevent_deref 2016-12-29 13:17:38 +01:00
Andreas Fabri b867150561 Use Prevent_deref 2016-12-29 13:12:00 +01:00
Laurent Rineau bbf430b0b1 Merge pull request #585 from afabri/Kernel-Weighted_point-GF
Introduce Kernel::Weighted_point_3 together with functors
2016-12-20 19:52:02 +01:00
Sébastien Loriot 15b7f052da remove an extra const
follow-up of dbafcaa0
2016-12-15 17:30:53 +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
Jane Tournois 847a76d22b add missing 'L' 2016-12-09 12:45:29 +01:00
Andreas Fabri 6d13fa2c31 Fixes afer Monique's review 2016-12-09 10:17:23 +01:00
Andreas Fabri a2b7c569b6 Do not use Regular_triangulation_euclidean_traits_2 in examples 2016-12-08 12:49:33 +01:00
Andreas Fabri b0cd40a6b2 Do not use Regular_triangulation_euclidean_traits_2 in examples 2016-12-08 12:47:46 +01:00
Andreas Fabri 1dfc9c631d Document Regular_triangulation_vertex_base_3 as well as the concept and use it in examples instead of Regular_triangulation_euclidean_traits 2016-12-08 12:39:26 +01:00
Laurent Rineau b354b24270 Merge pull request #1712 from sloriot/CGAL-add_missing_include
add missing include directive
2016-12-02 11:37:08 +01:00
Sébastien Loriot 5b61aa18a8 workaroung a bug in g++ 4.4 2016-11-30 08:49:19 +01:00
Guillaume Damiand 2ab268965f LCC for CMap and GMap; incremental builder; save and load; test. 2016-11-29 11:43:36 +01:00
Sébastien Loriot 728bc98d37 add missing include directive 2016-11-22 16:23:22 +01:00
Andreas Fabri fbebd1c531 Add doc of Weighted_point_mapper_2 2016-11-21 17:17:05 +01:00
Andreas Fabri d624271315 Remove usage of Regular_triangulation_euclidean_traits_3 2016-11-21 16:43:40 +01:00
Laurent Rineau 2835e361c8 Fix the constructors of RT euclidian traits class
@janetournois @afabri

That commit will fix both runtime errors in Interpolation and
compilation errors in KDS:

  - in Interpolation, the traits class carries a normal vector: it needs
  to be passed to the RT traits class as well,

  - Same in KDS: the compilation error was saying that the constructor
    of RT_euclidian_traits_3 must initialize it base class.
2016-11-18 17:55:05 +01:00
Andreas Fabri 8b8c52cf7f fix typos in the doc
Add boost::graph_traits for a TDS_2
2016-11-18 09:41:40 +01:00
Andreas Fabri c37b7b04fe remove doc of Weighted_point_mappper_2 2016-11-16 10:40:59 +01:00
Andreas Fabri 490949efa7 fix Interpolation package 2016-11-16 09:58:23 +01:00
Andreas Fabri e87351e51a A typname too much 2016-11-16 08:20:44 +01:00
Jane Tournois 0f569a8fd6 introduce Has_nested_type_Bare_point to keep backward compatible
it is needed when Regular_triangulation_euclidean_traits is used the first
template parameter for Regular_triangulation (both 2d and 3d)
2016-11-03 14:57:10 +01:00
Jane Tournois 2c9a580c96 all CGAL kernels are now models of `RegularTriangulationTraits_2`
wrapper Weighted_point_mapper_2 is not necessary anymore
2016-11-03 14:55:39 +01:00
Jane Tournois 306323d45c make doc and doc consistent
- add "model of Concept" as much as possible in the modified classes/concepts
- fix some links
- update package description of Kernel_23
2016-11-03 14:55:39 +01:00
Jane Tournois 92719abb5a remove all "Power_test" 2016-11-03 14:55:39 +01:00
Andreas Fabri a58e7ae63b changes after Monique's review 2016-11-03 14:53:54 +01:00
Andreas Fabri 66ed20d389 fix typo 2016-11-03 14:53:54 +01:00
Andreas Fabri ad9d2c369c Rename tests following Olivier's recommendations 2016-11-03 14:53:54 +01:00
Andreas Fabri f93ac02346 Explain what users have to do concerning features that got removed 2016-11-03 14:53:15 +01:00
Andreas Fabri f488b9baf9 Changes after Laurent's review 2016-11-03 14:53:15 +01:00
Andreas Fabri e64a8a0c66 typo 2016-11-03 14:07:26 +01:00
Andreas Fabri a80e9ce7e0 polish 2016-11-03 14:07:26 +01:00
Andreas Fabri 44ec32c6f2 cleanup 2016-11-03 13:11:15 +01:00
Andreas Fabri 842aad6e76 Fix which predicates can be done without division 2016-11-03 13:10:27 +01:00
Andreas Fabri 537bdc00de Reintroduce Regular_triangulation_filtered_traits_2 2016-11-03 13:10:27 +01:00
Andreas Fabri 0ec908b981 Why does g++ need the this-> here ??? 2016-11-03 13:10:00 +01:00
Andreas Fabri 44d0fa4d6f fix the 2D triangulations 2016-11-03 13:08:31 +01:00
Andreas Fabri ea50fb811d Cleanup. The 2D and 3D triangulation testsuite pass 2016-11-03 13:07:50 +01:00
Andreas Fabri 9dde08c414 WIP 2016-11-03 13:07:50 +01:00
Andreas Fabri bbfb20d3c3 and remove the file where the content was moved before 2016-11-03 13:07:50 +01:00
Andreas Fabri 7d35bb0a8b First move the C2 and H2 pedicate and construction files operating on the RT 2016-11-03 13:07:50 +01:00
Laurent Rineau 5aaa9c0c22 Merge pull request #1577 from afabri/Triangulation_2-fix_for_empty_range-GF
(Merged from the merge of 'cgal/releases/CGAL-4.9-branch'.)
2016-10-20 10:20:34 +02:00
Laurent Rineau c637a564f3 Merge pull request #1588 from afabri/CGAL-may_be_uninitialized_warnings-GF
Triangulation_2: initialize data members to avoid warning
2016-10-20 09:47:51 +02:00
Laurent Rineau c826500c7d Merge pull request #1551 from mglisse/Number_types-gmpxx_coercion-glisse
Misc GMPXX fixes
2016-10-20 09:47:39 +02:00
Andreas Fabri 76d751be01 Use CGAL_FALLTHROUGH 2016-10-17 13:45:42 +02:00
Andreas Fabri 89242f2687 When the dimension is 0, we can only have 0 or 1 vertices 2016-10-17 13:45:42 +02:00
Andreas Fabri aac821a61d Deal with an empty range as input 2016-10-15 08:18:01 +02:00
Marc Glisse 60806b035b Specify the number type, for expression templates. 2016-10-13 08:49:22 +02:00
Andreas Fabri cf719f65cd intialize to avoid warning with -Wall on CentOS6-CXX11-Boost157_? 2016-10-12 09:15:56 +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
Laurent Rineau 9a0bb54922 Merge pull request #1438 from sloriot/CGAL-clean_up_projects_name_cmake
Clean up projects name in cmake scripts
2016-10-05 13:02:25 +02:00
Laurent Rineau 059cfb17cb Merge pull request #1435 from afabri/Triangulation_2-Iterator_project-GF
Triangulation_2: Use boost::transform_iterator instead of CGAL::Iterator_project
2016-10-05 13:02:23 +02:00
Andreas Fabri cf8c1a6cdf Dispatch import functions to Polyhedron, T2, T3 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
Laurent Rineau 51f5697d3d Add missing #include 2016-09-30 15:23:14 +02:00
Andreas Fabri 7ff83d1b8c dispatch files to the appropriate package: T2,Polyhedro,HDS 2016-09-30 15:23:14 +02:00
Andreas Fabri dda0c4f29b Fix package Triangulation_3: include headers 2016-09-30 15:22:29 +02:00
Andreas Fabri 40e9c6f735 Move specializations of graph_traits the packages that are concerned 2016-09-30 15:22:29 +02:00
Andreas Fabri 91c6426ae2 Move info_check from T3 to T2 2016-09-30 15:22:28 +02:00
Laurent Rineau e2d04e54e0 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
> 3176b37 Merge pull request #1452 from mglisse/Number_types-Eigen_Literal-glisse
> 1705702 Merge pull request #1417 from afabri/Polyline_simplification-Bugfix_choose_correct_Itag-GF
> 3bef239 Merge pull request #1462 from sloriot/PMP-add_missing_include
2016-09-15 17:25:20 +02:00
Andreas Fabri 147ebae4d6 Fix bug in polyline simplification:
We had hardwired that we use Exact_predicates_tag which is slow for EPEC
in particular with Quotient<MP_float> or leda::real

We determine the appropriate tag using Algebraic_structure_traits<FT>::Is_exact
2016-09-14 16:16:28 +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
Andreas Fabri ef00da9bc8 remove commented code 2016-09-06 23:04:58 +02:00
Andreas Fabri 77f2f7f992 Use transform_iterator 2016-09-06 18:43:56 +02:00
Andreas Fabri 835605a06d Do not include a header file that is not used 2016-09-06 18:10:24 +02:00
Andreas Fabri 791c385a3a fix polyline simplification 2016-08-23 11:30:21 +02:00
Andreas Fabri 784c1b82f3 fix polyline simplification 2016-08-14 17:20:56 +02:00
Sébastien Loriot 7f3772a50b replace the usage of raw pointer as property map
It was deprecated in boost 1.55
http://www.boost.org/users/history/version_1_55_0.html
2016-07-13 13:53:00 +02:00
Sébastien Loriot c9e1f30df1 add missing traits to avoid using the default constructed one 2016-06-29 09:41:22 +02:00
Maxime Gimeno 96f0f39113 Updates the CDT constructors, the tests and the doc. 2016-06-07 17:40:26 +02:00
Sebastien Loriot 7630d2a6fc Merge pull request #875 from sloriot/Triangulation_2_and_PMP-fix_Triangulation_2_projection_traits_3
PMP: make triangulate_faces works with non filtered kernels
2016-05-05 14:55:11 +02:00
Sébastien Loriot f1be63c5d9 add deprecation warnings for the former header 2016-05-04 17:09:22 +02:00
Sebastien Loriot e9f8ef6be8 Merge pull request #1001 from afabri/Triangulation_2-deprecated-GF
Remove deprecated code, and deprecate some other code in Triangulation_2
2016-04-29 12:40:10 +02:00
Andreas Fabri db4c17ad68 fixes after Sebastien's remarks 2016-04-25 16:05:28 +02:00
Laurent Rineau 27b2d8578c Merge pull request #940 from afabri/Triangulation_2-Default-GF
Introduce CGAL::Default for the TDS of 2D constrained triangulations
2016-04-22 15:26:13 +02:00
Andreas Fabri 7f6550a48d Remove the xy_3 traits classes; Deprecate Triangulation_euclidean_traits_2 2016-04-12 17:38:25 +02:00
Andreas Fabri 6d72405658 Simplify Constrained_delaunay_triangulation_2 2016-04-01 12:58:59 +02:00
Andreas Fabri 9776c053d6 simplify template parameters, Add _ postfix to Itag (thank you Marc) 2016-03-31 13:09:54 +02:00
Laurent Rineau 50b55bd27c Merge pull request #890 from sloriot/CGAL-generate_CMakeLists-sloriot
Generate CMakelists
2016-03-29 11:02:17 +02:00
Laurent Rineau 00e6e03d5c Merge pull request #785 from afabri/CGAL-missing_includes-GF
Partial cleanup of issue #595   Part2
2016-03-24 17:02:27 +01:00
Sébastien Loriot 4c29bf1b44 CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR 2016-03-24 16:33:46 +01:00
Andreas Fabri 31dae1898f Just Default as default does not compile, so we put the 'real' default types 2016-03-23 16:51:13 +01:00
Andreas Fabri 7a0c53496d Mention Default in the ref manual 2016-03-23 12:43:17 +01:00
Andreas Fabri 47090906f0 Introduce CGAL::Default for the TDS of constrained triangulations 2016-03-23 10:27:39 +01:00
Andreas Fabri 5681f530fc Update Triangulation_traits
Fix a typo.
2016-03-11 08:38:45 +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 d7e9261d58 hide the filtered projection traits behind the projection traits
the selection of the base class is done using Kernel::Has_filtered_predicates
2016-03-02 21:57:54 +01:00
Sébastien Loriot d5a5e6abe8 Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch' 2016-02-24 18:57:43 +01:00
Andreas Fabri 9b4714a684 protect against inserting a zero length constraint (that is what is documented) 2016-02-23 12:58:27 +01:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Philipp Möller 0a04a3a48f Use CGAL_DOC_VERSION 2016-02-11 15:37:54 +01:00
Sébastien Loriot d019207e81 Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch' 2016-01-20 16:46:29 +01:00
Andreas Fabri 4a697500be Use std::set in case of VC++ and boost 1.55 2016-01-18 09:28:40 +01:00
Sebastien Loriot 32a3972c33 Merge pull request #592 from afabri/CGAL-dont_submit_cleanup-GF
Towards getting rid of dont_submit files
2016-01-08 14:14:08 +01:00
Sébastien Loriot 94fb95118a Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch' 2016-01-08 13:57:57 +01:00
Sébastien Loriot e64ae35a6e Merge pull request #542 from bo0ts/Documentation-release_build2-pmoeller
Allow to build the documentation in a release
2016-01-07 09:21:46 +01:00
Andreas Fabri b3b700dee8 switch to boost::container::flat_set 2016-01-06 15:13:57 +01:00