Commit Graph

1227 Commits

Author SHA1 Message Date
Laurent Rineau e2b9c56675 Fix the assertion "Expr: FPU_get_cw() == mode" 2019-06-27 11:26:39 +02:00
Laurent Rineau 9346847f20 Fix warnings about uninitialized variables 2019-06-27 11:26:26 +02:00
Laurent Rineau 11e634246a Make this PR compatible with https://github.com/CGAL/cgal/pull/3939 2019-06-24 10:19:52 +02:00
Laurent Rineau 8fd3f2d8fd Merge pull request #3973 from sgiraudot/Kernel_23-Add_hash_functions-GF
[Small Feature] Add hash functions for kernel objects
2019-06-20 14:21:09 +02:00
Laurent Rineau 8535a3c03c Merge branch 'releases/CGAL-4.14-branch'
# Conflicts:
#	Apollonius_graph_2/include/CGAL/Apollonius_graph_2/Apollonius_graph_2_impl.h
#	Convex_hull_3/include/CGAL/convex_hull_3.h
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/face_graph_utils.h
#	Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin_cgal_code.cpp
#	Stream_support/include/CGAL/IO/Color.h
2019-06-20 14:20:37 +02:00
Laurent Rineau b0f1f90a4d Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-06-20 14:08:25 +02:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Maxime Gimeno b13bdadfa8 Fix conflicts 2019-06-17 15:33:33 +02:00
Laurent Rineau 34a9b24698 Fix a remaining warning about t1 not being initialized
There are a lot of uninitialized variables, in that testsuite, that
are used anyway (like copied). Strangely the compilers do not seem to
catch them all at the same time. That probably depends on inlinings.
2019-06-17 10:03:56 +02:00
Laurent Rineau 30b25a4d58 Fix warnings
There was a unused assigned variable:
```
test/Kernel_23/include/CGAL/_test_new_2.h:375:6: warning: variable ‘tmp22d’ set but not used [-Wunused-but-set-variable]
  375 |   FT tmp22d = Compute_squared_distance(p1, p2);
      |      ^~~~~~
```

and also use of uninitialized variable. That pattern was used a lot:
```
typename R::Iso_cuboid_3 ir;
CGAL::Iso_cuboid_3<R>  r0(ir);
```
that is:
  - create a default-initialized object,
  - then copy it.

Default-initialized object cannot be copied without a warning.
2019-06-14 11:09:40 +02:00
Laurent Rineau 7d543d5bf8 Add a testsuite for Epick and Epick_without_intervals 2019-06-13 15:06:19 +02:00
Laurent Rineau 3b2b6bb468 Fix that incorrect testsuite of Epick_without_intervals 2019-06-13 09:19:48 +02:00
Laurent Rineau f94122b31b Add a testsuite for Epick 2019-06-13 09:19:48 +02:00
Simon Giraudot c3c825519c Add missing inlines 2019-06-06 09:51:10 +02:00
Simon Giraudot 72ea50ae77 Change condition on FT/Kernel for hash functions 2019-06-05 10:50:08 +02:00
Simon Giraudot 070a26a5b7 Fix missing inclusions + ADL for hash_value 2019-06-05 10:43:28 +02:00
Andreas Fabri 4581f1b7a8 Morte replacements 2019-06-05 08:39:55 +02:00
Simon Giraudot 9ee478139b Remove hash for Direction_23/Ray_23 as equality is more complicated 2019-06-04 13:26:05 +02:00
Simon Giraudot 5b39428ad5 Document objects that are hashable 2019-06-03 16:14:45 +02:00
Simon Giraudot d88b7bab69 Hash functions for many kernel objects 2019-06-03 15:56:07 +02:00
Simon Giraudot a954fbf69e Add hash function for Point_3 2019-06-03 14:36:32 +02:00
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Laurent Rineau 7105406ee1 Fix warnings with CGAL_USE 2019-05-16 15:46:27 +02:00
Laurent Rineau 162544dade Add a test of Epick_without_intervals in Kernel_23 2019-05-16 15:46:27 +02:00
Laurent Rineau 621542afbd Add Epick_without_intervals
That `Epick` without the dynamic filters: only the static filters are
applied before the exact computation.
2019-05-16 15:10:40 +02:00
Laurent Rineau 90782d4b7f Revert the merge of two pull-requests that target CGAL-4.14-branch
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Andreas Fabri 2ebc7d17cd Use integers as test bounds for Homogeneous 2019-04-11 09:59:12 +02:00
Andreas Fabri 24699e9560 Use integers as test bounds for Homogeneous 2019-04-11 09:48:32 +02:00
Andreas Fabri 72787fb8ad Put functions in their own group 2019-04-11 09:48:32 +02:00
Andreas Fabri 032a7aaec4 complete doc 2019-04-11 09:48:32 +02:00
Andreas Fabri e60f69e669 Compute sqrt only once 2019-04-11 09:48:32 +02:00
Andreas Fabri 42af962bc2 Add overload for two vectors 2019-04-11 09:48:32 +02:00
Andreas Fabri 47fe2ee58e Add functions in PackageDescription.txt 2019-04-11 09:48:32 +02:00
Andreas Fabri 0e75cea23c Simplify the code 2019-04-11 09:48:30 +02:00
Andreas Fabri d62d88196e Add a function to compute the angle between three 3D points 2019-04-11 09:48:30 +02:00
Laurent Rineau 04bef2b071 Merge pull request #3781 from sloriot/CGAL-update_for_cpp14
Update for cpp14
2019-04-08 15:59:28 +02:00
Sébastien Loriot 124012d9f9 replace cpp11::array by std::array 2019-03-29 13:28:33 +01:00
Sébastien Loriot f62624c4f9 replace cpp11::tuple by std::tuple 2019-03-29 13:28:33 +01:00
Sébastien Loriot ce126b87c6 remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead 2019-03-29 13:28:32 +01:00
Sébastien Loriot 1d908c1c0b remove code for CGAL_INTERSECTION_VERSION 1 2019-03-29 13:28:32 +01:00
Sébastien Loriot 82c13e6e74 remove cpp11 workaround in kernel related packages 2019-03-29 10:41:50 +01:00
Laurent Rineau ea20dfd63f Merge pull request #3806 from afabri/Polyline_simplification-Fix_for_projection_traits-GF
Polyline_simplification_2: Fix for Projection_traits_xy_3
2019-03-28 18:50:40 +01:00
Andreas Fabri 9cc37e1371 Add a subsection in the User Manual 2019-03-27 16:52:34 +01:00
Andreas Fabri a472c24185 http:/www.boost.org -> https://www.bost.org 2019-03-20 08:59:22 +01:00
Laurent Rineau 8693f95dac Merge pull request #3619 from albert-github/feature/bug_headers
Update of headers
2019-02-22 16:39:09 +01:00
Laurent Rineau 7cf4a1fff8
Merge pull request #3501 from lrineau/CGAL-fix_with_LEDA_without_CGAL_Core-GF
Partially fix the testsuite with LEDA instead of GMP
2019-02-22 10:04:22 +00:00
Sébastien Loriot 59bc453b42 first batch of replacement for level 1 in classified ref man
command used:
grep -l  "##" */doc/*/PackageDescription.txt | xargs  sed -i  -E 's/\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\s*$/\\cgalCRPSection{\1}/'
2019-02-14 10:32:39 +01:00
Sébastien Loriot 90ad079eb4 use macro for subsections
command used:
grep -l  "###" */doc/*/PackageDescription.txt |  xargs sed -i  -E 's/\#\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\#\s*$/\\cgalCRPSubsection{\1}/
2019-02-14 10:32:00 +01:00
Sébastien Loriot 42b9a0be04 fix level 2019-02-14 10:26:05 +01:00
Laurent Rineau afc3de2894
Merge branch 'master' into Stream_support-Color-GF 2019-01-23 09:37:08 +01:00
Laurent Rineau 6ffd76a87e Merge pull request #2792 from afabri/Intersections_3-Add_missing_do_intersect-GF
Intersections_3:  Add missing do_intersect() overloads
2019-01-18 16:37:54 +01:00
Maxime Gimeno 25401840f8 Merge remote-tracking branch 'cgal/master' into Kernel_23-Add_suport_for_reflextions-GF 2019-01-11 09:43:19 +01:00
Andreas Fabri f1dd633be0 Fix Kernel_23 and Cone_spanner 2019-01-09 17:54:47 +01:00
Sébastien Loriot 846f19f401 init variables 2018-12-05 18:20:06 +01:00
Sébastien Loriot aecbd80d20 avoid Wmaybe-uninitialized
Triggered when compiling the target Simple_cartesian

@lrineau do you think it is an acceptable fix (I tend not to like it).
2018-12-05 17:56:30 +01:00
Andreas Fabri 9abeddf7cd Add documentation for intersection with Point_2 and Point_3 2018-12-03 15:45:42 +01:00
Laurent Rineau 0e053a4023 First step to support LEDA instead of CGAL_Core 2018-11-30 16:20:37 +01:00
Sebastien Loriot ff278a61eb
Merge pull request #3399 from maxGimeno/Kernel_23-Aff_transformation-Equality_test-GF
Kernel_23: Add an equality test to Aff_transfo 2 and 3.
2018-11-12 15:06:07 +01:00
Guillaume Damiand 7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand 2018-11-05 07:32:58 +01:00
Sébastien Loriot 0685423ae8 update from cgal/master 2018-11-02 11:32:31 +01:00
Laurent Rineau 821f9c015e Merge pull request #3311 from sloriot/Doc-Pkg_link_name
Update the name of package names reference links
2018-10-29 10:27:53 +01:00
Laurent Rineau 39f144c3dd Merge pull request #3418 from MaelRL/Kernel23-Fix_doc_typo
Kernel_23: Fix doc typos
2018-10-29 10:27:52 +01:00
Laurent Rineau 3601c6d69e Merge pull request #3345 from afabri/Kernel-fix_Point_2_Line_2_projection-GF
Improve Projection of 2D point on line
2018-10-29 10:27:30 +01:00
Sébastien Loriot 136a077e93 fix copy/paste error 2018-10-23 12:03:09 +02:00
Mael Rouxel-Labbé c2d0689a04 Fixed typo 2018-10-23 08:48:36 +02:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0c2dcf7208 Re-add include({CGAL_USE_FILE} ) in each CMakeLists.txt where CGAL is used with some component. 2018-10-18 14:38:42 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Guillaume Damiand 7f09308d33 Remove all include_directories(BEFORE ../../include) in CMakeLists.txt 2018-10-17 13:07:22 +02:00
Maxime Gimeno a6e610c8bc Remove warning about sqrt in the doc, it is not true anymore. 2018-10-17 09:18:52 +02:00
Maxime Gimeno 33b7172715 Fix homogeneous code 2018-10-16 16:57:57 +02:00
Maxime Gimeno 83f35c687c WIP tests and compose() 2018-10-16 16:11:59 +02:00
Maxime Gimeno 824697c684 add missing test for aff_transfo_3 2018-10-15 09:05:53 +02:00
Maxime Gimeno 23d701c1a5 Add an equality test to Aff_transfo 2 and 3. 2018-10-12 16:34:19 +02:00
Andreas Fabri dc3f0e9400 Remove the benchmark from the issue 2018-10-09 09:45:14 +02:00
Andreas Fabri 30ddc56391 Add an issue and benchmark 2018-10-09 09:45:13 +02:00
Laurent Rineau 5092db81c3 Merge pull request #3201 from kkatrio/repair_functions
PMP: Add more repair functions
2018-10-08 15:13:51 +02:00
Sébastien Loriot ea240cfac5 use \PkgXXX instead of \PkgXXXSummary 2018-10-08 10:28:44 +02:00
Sébastien Loriot a2e8a1c68f add the suffix Ref to doxygen link to reference 2018-10-08 10:26:56 +02:00
Marc Glisse 2dcebb5761
Kernel_traits uses R, not Kernel 2018-10-02 13:38:55 +02:00
Mael Rouxel-Labbé 5a8d6c67e8 Merge branch 'repair_functions-old' into repair_functions 2018-07-30 15:53:37 +02:00
Sébastien Loriot d05df530b3 Merge pull request #2658 from MaelRL/Periodic_3_mesh_3-Feature-MBogdanov
Periodic_3_mesh_3, new package
2018-07-25 18:55:12 +02:00
Mael Rouxel-Labbé 072b2376b8 Merge branch 'repair_functions-old' into repair_functions 2018-07-23 17:59:43 +02:00
Laurent Rineau 908311e903 Merge branch 'releases/CGAL-4.11-branch' into releases/CGAL-4.12-branch 2018-07-20 17:34:47 +02:00
Laurent Rineau 540a181b5e Merge pull request #3232 from lrineau/Triangulation_2-Debug_CDT2-lrineau
Fix CDT_2 errors, using snapping of intersection points (cont.)
2018-07-20 17:32:52 +02:00
Laurent Rineau 0585ffcc39 Merge pull request #3232 from lrineau/Triangulation_2-Debug_CDT2-lrineau
Fix CDT_2 errors, using snapping of intersection points (cont.)
2018-07-20 17:20:16 +02:00
Mael Rouxel-Labbé fc41d58bfd Added some missing \sa for Vector_23 2018-07-20 12:16:13 +02:00
Laurent Rineau 2d89a5ec5b Fix a warning for Linux 32 bits
test/Kernel_23/test_bbox.cpp:38: warning: integer constant is too large for ‘long’ type
2018-07-16 10:56:41 +02:00
Laurent Rineau e900b684b4 Add a test of Bbox_[23]::dilate 2018-07-13 17:28:15 +02:00
Laurent Rineau 87517ac68d Fix Bbox_[23]::dilate
`boost::math::float_advance` does not modify its argument, but returns a
value! The previous version of the code was not modifying the bbox at all,
and the point snapping was active.
2018-07-13 17:01:10 +02:00
Mael Rouxel-Labbé 099927aa15 Added Compare_(weighted)_squared_radius_3 in the \sa of (weighted) points 2018-06-29 16:48:48 +02:00
Mael Rouxel-Labbé fd076c3c6d Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-06-28 16:25:54 +02:00
Sébastien Loriot 0abfba8ac0 Update branch 'PMP-coref_preserve_face_attributes' from master@5ceb529d0f 2018-06-21 10:53:59 +02:00
Mael Rouxel-Labbé 7490f34560 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-06-21 10:15:25 +02:00
Laurent Rineau 5ceb529d0f Merge branch 'releases/CGAL-4.12-branch' 2018-06-20 17:21:55 +02:00
Laurent Rineau 786f85c93b Merge pull request #3168 from MaelRL/Kernel23-Fix_weighted_point_translate_doc-GF
Kernel_23: Fix some doc issue with weighted points
2018-06-20 17:20:53 +02:00
Laurent Rineau 0ef817416b Merge branch 'releases/CGAL-4.11-branch' into releases/CGAL-4.12-branch 2018-06-20 17:20:20 +02:00
Laurent Rineau 233ca4faa5 Merge pull request #3168 from MaelRL/Kernel23-Fix_weighted_point_translate_doc-GF
Kernel_23: Fix some doc issue with weighted points
2018-06-20 17:19:48 +02:00
Laurent Rineau 46961e7607 Merge pull request #3168 from MaelRL/Kernel23-Fix_weighted_point_translate_doc-GF
Kernel_23: Fix some doc issue with weighted points
2018-06-20 17:18:47 +02:00
Mael Rouxel-Labbé d3a57afc8b Fixed variable name 2018-06-20 11:34:16 +02:00