Commit Graph

89520 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé badbee5c31 Minor doc fixes 2020-02-28 13:27:44 +01:00
Mael Rouxel-Labbé 09efb802c3 Add a line about PMP::PM_to_PS to the user manual + link in ref manual 2020-02-28 13:07:02 +01:00
Mael Rouxel-Labbé 994b4858b2 Doc fixes 2020-02-28 12:56:38 +01:00
Mael Rouxel-Labbé 8f8a818d21 Fix STL IO 2020-02-28 11:55:56 +01:00
Mael Rouxel-Labbé 26463ded7a Update NPs using default constructed default values to new API
+ misc cleaning
2020-02-28 11:55:17 +01:00
Mael Rouxel-Labbé 338089b2a5 Add an overload of choose_parameter with a single parameter
The previous (and only) overload of choose_parameter required two parameters,
with the default parameter often being a default constructed object
of type the type of the object being passed in named parameter.
For example:

typedef typename CGAL::GetPointMap<PointRange, NamedParameters>::type Point_map;
Point_map pm = choose_parameter(get_parameter(np, internal_np::point_map),
				Point_map());

However, this can be unpleasant, for example when passing functors that have
an underlying lambda such (function_property_map, ...) because lambdas
cannot be default constructed.

With the new API:

typedef typename CGAL::GetPointMap<PointRange, NamedParameters>::type Point_map;
Point_map pm = choose_parameter<Point_map>(get_parameter(np, internal_np::point_map));

all is well.
2020-02-28 11:48:41 +01:00
Maxime Gimeno 1d69e9048e conditionnally use some functions (fix deprecation warning) 2020-02-27 15:56:56 +01:00
Sebastien Loriot 715e8e3e8b
fix leak
Co-Authored-By: Laurent Rineau <Laurent.Rineau@cgal.org>
2020-02-27 10:52:23 +01:00
Sébastien Loriot 844bfddcac avoid crash if the file is corrupted or empty 2020-02-27 10:19:35 +01:00
Mael Rouxel-Labbé 09cb327ac3 Use dummy initialization to silence a warning 2020-02-27 09:19:49 +01:00
Maxime Gimeno 79c390eb6d fix warning 2020-02-26 16:17:17 +01:00
Mael Rouxel-Labbé 5f542ffa00 Remove snap examples from PMP-examples' CMakeLists.txt (for now) 2020-02-26 08:58:26 +01:00
Sébastien Loriot 03bf465cb7 use predicates 2020-02-25 15:28:15 +01:00
Laurent Rineau be7dedc49b Merge branch 'releases/CGAL-5.0-branch' 2020-02-25 14:47:23 +01:00
Laurent Rineau c43d6bd8eb Merge branch 'releases/CGAL-4.14-branch' into releases/CGAL-5.0-branch 2020-02-25 14:47:03 +01:00
Laurent Rineau 7a5df9ea21
Merge pull request #4534 from CGAL/Surface_mesh_segmentation-fix_citation-lrineau
Surface_mesh_segmentation: Fix citation (wrong case)
2020-02-25 14:40:23 +01:00
Sébastien Loriot ba2f2c1c20 use FT instead of RT
Compare_distance_3 is a generic functor that is comparing
the returned value of Squared_distance_3. If called to
compare the distance of a point to a plane/segment/triangle
a division is used leading to runtime error.
2020-02-25 14:25:20 +01:00
Mael Rouxel-Labbé 28f5db3f11 Pass custom traits to the Fuzzy_sphere object constructor
The traits also must be passed to the fuzzy sphere, otherwise
it relies on the default VPM being correct and being the VPM
passed to the tree.
2020-02-25 13:33:33 +01:00
Laurent Rineau 5f58885213 menu_version.js for master 2020-02-25 13:22:46 +01:00
Laurent Rineau 3cc4dbddb1 Prepare new bug-fix releases 2020-02-25 09:50:53 +01:00
Laurent Rineau 8ffe039e8f Merge branch 'releases/CGAL-5.0-branch' 2020-02-25 09:49:50 +01:00
Laurent Rineau 4af61895ea Merge branch 'releases/CGAL-4.14-branch' into releases/CGAL-5.0-branch 2020-02-25 09:48:04 +01:00
Laurent Rineau 2b01447391 Next release on this branch will be 5.0.3 2020-02-25 09:46:40 +01:00
Laurent Rineau e40aaafd28 Next release in this branch will be 4.14.4 2020-02-25 09:43:08 +01:00
Marc Glisse 1eed5a908c swap Simple_cartesian<Gmpq>::Point_3 2020-02-25 08:57:53 +01:00
Marc Glisse c92587fb9c More swap
We could add it for all kernel wrappers...
It is really inconvenient that swap cannot be autogenerated like move
assignments are.
noexcept(auto) would also be convenient, whatever some people on the
committee claim.
2020-02-25 02:00:48 +01:00
Marc Glisse 3e4c0d28e5 More swaps. 2020-02-25 01:29:48 +01:00
Maxime Gimeno d8fd359399 Merge remote-tracking branch 'cgal/master' into Demo-Save_the_scene_entirely-maxGimeno 2020-02-24 16:41:34 +01:00
Janek Kozicki 7075455f42 Replace three more std::sqrt(…); with using std::sqrt; ……… sqrt(…); 2020-02-23 15:19:56 +01:00
Janek Kozicki e94156d7b5 Replace two std::sqrt(…); with using std::sqrt; ……… sqrt(…); Fix Yade compilation. 2020-02-23 15:19:56 +01:00
Maxime Gimeno 9a454ca7e2 Changes after review 2020-02-21 11:43:08 +01:00
Maxime Gimeno 077a129216 Merge remote-tracking branch 'cgal/master' into PMP-Default_pmap-maxGimeno 2020-02-21 10:34:14 +01:00
Maxime Gimeno 195d43bc5e Fix conversion warning 2020-02-20 16:49:54 +01:00
Maxime Gimeno 56af5c2d7d Put Use_ssh.cpp under LGPL3+ 2020-02-20 13:32:50 +01:00
Maxime Gimeno 634b0cf7e9 fix known_hosts and ask for permission. Clean-up. 2020-02-20 13:30:15 +01:00
Mael Rouxel-Labbé 752fc00bf4 Fix includes 2020-02-20 12:14:40 +01:00
Mael Rouxel-Labbé 636665a96c Fix types 2020-02-20 12:14:27 +01:00
Mael Rouxel-Labbé 9424714ee8 Update namespace 2020-02-20 11:17:02 +01:00
Mael Rouxel-Labbé 3bbc07ebf5 Regroup some helpers to call reserve/resize on containers that do not offer it
Useful because sometimes models of the range concepts we demand
do not offer reserve or resize, yet we still want to call it
when it's available.
2020-02-20 11:16:54 +01:00
Mael Rouxel-Labbé fdb6ada8c4 Update to new API 2020-02-20 11:15:03 +01:00
Mael Rouxel-Labbé 9ecd913b7c Simplify CGAL demo code, using new PMP function 2020-02-20 11:14:45 +01:00
Mael Rouxel-Labbé 835ab5a0fb Test polygon_mesh_to_polygon_soup 2020-02-20 11:14:18 +01:00
Mael Rouxel-Labbé 9c51e3fba7 Add polygon_mesh_to_polygon_soup() 2020-02-20 11:14:06 +01:00
Mael Rouxel-Labbé ec6a4dbd17 Fix documentation 2020-02-20 11:13:18 +01:00
Mael Rouxel-Labbé 554be421d9 Add convience overloads for PS_to_PM_converter (no property maps passed) 2020-02-20 11:12:40 +01:00
Mael Rouxel-Labbé 98f3878c4d Move some PSP_3::GetPointMap to CGAL:: namespace 2020-02-20 11:12:15 +01:00
Mael Rouxel-Labbé bcd4f9600f Make GetPointMap work with only a PointRange template 2020-02-20 11:11:51 +01:00
Mael Rouxel-Labbé 21763ff4bf Fix unused typedef warning 2020-02-20 11:11:32 +01:00
Mael Rouxel-Labbé 5db42d1e8b Fix order of template parameters 2020-02-19 18:24:31 +01:00
Mael Rouxel-Labbé 7431c0751a Enhance a bit the test with a dmap instead of the default VPM 2020-02-19 18:14:45 +01:00