Commit Graph

37 Commits

Author SHA1 Message Date
Sébastien Loriot b039040f73 boost::is_convertible -> std::is_convertible 2023-04-23 22:37:07 +02: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
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
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
Andreas Fabri bfaa3b7d6e fix include 2018-05-04 13:57:41 +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é d32a4ff717 Fixed regular neighbor coordinates when the query point is hidden 2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé 4f02f892cb Added missing overloads and cleaned code in (nn|rn)_coordinates_2 2018-05-04 13:57:38 +02:00
Mael Rouxel-Labbé 67f99cc53d Fixed trailing whitespace and (some of the) inconsistent indentation
No real changes.
2018-05-04 13:57:38 +02:00
Sébastien Loriot 0a27019322 fix sibson interpolation 2018-05-04 13:57:38 +02:00
Sébastien Loriot 1e6806f6e1 add missing overloads 2018-05-04 13:57:38 +02:00
Andreas Fabri 6bb5deff4d Add an example 2018-05-04 13:57:38 +02:00
Andreas Fabri af093e3a15 Make it work for regular neighbors. Make Sibson geadient fitting write weighted points 2018-05-04 13:57:38 +02:00
Andreas Fabri 2bc8e23653 move helper classes in a subdirectory/namespace/file 2018-05-04 13:57:38 +02:00
Sébastien Loriot 8cdfad0d08 add missing URL and Id tags 2017-11-15 22:58:57 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Mael Rouxel-Labbé 42e04a3522 Fixed a comment in Interpolation
The OutputIterator type in regular_neighbor_coordinates is a pair of a weighted
point (and _not_ a point) and a FT
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé c65c15b2c1 Improved Interpolation readability (no real changes)
-- Removed trailing whitespace
-- Fixed (some) includes
-- Fixed indentation
-- Fixed some remaining french
2017-06-28 10:14:35 +02:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Andreas Fabri d624271315 Remove usage of Regular_triangulation_euclidean_traits_3 2016-11-21 16:43:40 +01:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Andreas Fabri 9fea4e7c99 one less warning in Mesh_2, Point_set_2 2013-01-30 18:49:40 +01:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Sébastien Loriot 90a1ea0a5e add preconditions: triangulation must be of dimension 2 2010-11-12 07:50:33 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Laurent Saboret db6a8f948c Change CVS keywords to SVN style 2006-02-16 14:30:13 +00:00
Laurent Saboret 1aad55d4cb Change CVS keywords to SVN style 2006-02-14 10:08:15 +00:00
Laurent Saboret 00398fbcdf Move packages to trunk root 2006-02-14 08:58:15 +00:00