Commit Graph

120 Commits

Author SHA1 Message Date
Andreas Fabri bff4417fec whitespace 2024-05-15 07:25:48 +01:00
Andreas Fabri 3da3481263 Fix Interpolation 2024-05-13 15:40:50 +01:00
Sébastien Loriot 8700394122 boost::mpl::if_ -> std::conditional 2023-09-24 22:57:20 +02:00
Sébastien Loriot b66afab814 Merge remote-tracking branch 'sloriot/CGAL-using_c++17_stl' into HEAD 2023-07-05 11:29:35 +02:00
Sébastien Loriot 557b64e4a6 boost::any ==> std::any 2023-06-15 10:57:09 +02:00
Sébastien Loriot b039040f73 boost::is_convertible -> std::is_convertible 2023-04-23 22:37:07 +02:00
albert-github 45478184de spelling corrections
Some spelling corrections (Directories starting with `E`-` L`),
some backward work
some forward work
2022-11-15 13:39:40 +01:00
Andreas Fabri d3fca65ae5 CGAL: No longer per package assertions 2022-09-23 12:49:40 +01:00
Andreas Fabri 70a06b4696 Do not use CGAL::iterator_v<> as it is responsible for the ICE of VC2015 2022-06-27 08:58:17 +01:00
Sébastien Loriot 37580e9daf missing () in macro + typo fixes 2022-06-14 11:24:21 +02:00
Sébastien Loriot b96f6d5ce9 move is_iterator to type_traits 2022-06-10 09:43:59 +02:00
Sébastien Loriot 44250cb019 is_iterator_XXX<>::value --> is_iterator_XXX_v<> 2022-06-10 09:40:29 +02:00
Sébastien Loriot 4f5f8341cc use std::enable_if_t 2022-06-10 07:37:53 +02:00
Sébastien Loriot ce98cd4c46 add missing include statement 2021-09-03 09:15:26 +02:00
Marc Glisse d7224e5f66 Weirdo constructor 2020-05-24 11:08:44 +02:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Sébastien Loriot c0edb5ecaa remove CGAL_CXX11 macro usage 2019-07-08 11:42:17 +02:00
Andreas Fabri 4581f1b7a8 Morte replacements 2019-06-05 08:39:55 +02:00
Laurent Rineau 5c2df203b4 Merge pull request #3943 from mglisse/Number_types-expression_templates-glisse
Misc fixes for expression templates
2019-05-23 08:50:17 +02:00
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Marc Glisse d3e9ce2d6b Missing #include 2019-05-17 23:47:34 +02:00
Marc Glisse a676b75ca0 Misc fixes for expression templates 2019-05-17 19:48:41 +02:00
Sebastien Loriot 80cece608c
Merge pull request #3595 from MaelRL/T2-Remove_strict_conflict_zone_boolean-GF
Triangulation_2: revert small feature DT2_strict_and_weak_conflict_zone
2019-04-12 15:35:06 +02:00
Sébastien Loriot 5a30e88a92 replace cpp11::function by std::function 2019-03-29 13:28:33 +01:00
Mael Rouxel-Labbé 48185ac153 Filter out irrelevant (<= 0) natural and regular neighbor coordinates
- coord == 0 is possible in theory, but not interesting to output
- coord < 0 is not possible in theory, but since we do construction and use
  signed (polygon_area_2()) area computations, we could in theory get
  negative coordinates in output
2019-01-14 11:20:16 +01:00
Mael Rouxel-Labbé 14150ef95c Revert commit b307771 ("bug fix for natural_neighbor_coordinates_2...
... using a small feature in the conflict zone functions of
Delaunay_triangulation_2")

See concerns raised in the (not-actually-approved) small feature:

https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/DT2_strict_and_weak_conflict_zone
2019-01-14 11:19:21 +01:00
Andreas Fabri 660cb5d778 Add precondition that range is non-empty. This is more explicit than the precondition that norm>0 2018-10-02 11:07:43 +02:00
Andreas Fabri 77010f5f0a Resimplify and fix the documentation 2018-09-26 16:17:35 +02:00
Andreas Fabri c5f85b212d Switch to make_zero() 2018-09-26 11:46:22 +02:00
Andreas Fabri 41946b72d6 Make linear_interpolation() work with non-scalar data 2018-09-26 09:06:34 +02:00
Mael Rouxel-Labbé 8b6826cb83 Renamed an internal function
Some compilers seem to get confused between different functions by the
<VF_arg_type> despite the functions having different numbers of arguments.
2018-06-28 11:57:06 +02:00
Mael Rouxel-Labbé 68c8b797a6 Merge branch 'Interpolation-Use_result_of-GF-old' into Interpolation-Use_result_of-GF 2018-06-26 14:27:19 +02:00
Mael Rouxel-Labbé 14bda813d3 Workaround boost::is_constructible not being safe to use before C++11
Incidentally means that argument_type unfortunately must be defined
when not using C++11...
2018-06-25 12:13:46 +02:00
Mael Rouxel-Labbé cdf325138a Tiny indentation fix 2018-06-15 13:01:49 +02:00
Mael Rouxel-Labbé c76dace89b Replaced uses of ::result_type and ::argument_type in Interpolation
This allows to pass more generic functors such as lambdas, for example.
2018-06-15 12:53:46 +02:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Andreas Fabri bfaa3b7d6e fix include 2018-05-04 13:57:41 +02:00
Mael Rouxel-Labbé de5795936f Fixed indentation 2018-05-04 13:57:41 +02:00
Mael Rouxel-Labbé 44570bd7e0 Fixed broken backward compatibility 2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé 7a2382ee7f Factorized some calls to construct_point_d 2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé f69c1f734a Replaced 'assert' with 'continue'
This function takes a vertex handle vh and computes the coordinates
in the hypothetical situation of vh being removed and querying at vh->point().

If vh is adjacent to the infinite vertex, then vh->point() will be outside
the convex hull (most likely, could be on the boundary too). The base function
taking a point can handle that case, it returns: (empty, 0, false). Rather
than crashing, let the other function return 'false'.
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé dc14d129a4 Readability changes 2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé 207fbb7efd Changed functor's result type
Technically the point() function of the TriangulationVertexBase_2 concept
has return type Point and not const Point& so we can't take a const ref here
otherwise we might take refs to temporaries.
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé d32a4ff717 Fixed regular neighbor coordinates when the query point is hidden 2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé dbc48009bc Various minor to natural/regular coordinates 2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé c88b17f92e Clarified functor names 2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé e005946a67 Improvements to sibson_gradient_fitting.h
- better variable/template names
- better function order
- some simplifications and warning cleaning
2018-05-04 13:57:39 +02:00