Commit Graph

81 Commits

Author SHA1 Message Date
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
Mael Rouxel-Labbé ed823a875c Fixed compilation after functor name change 2018-05-04 13:57:38 +02:00
Mael Rouxel-Labbé efcafe4073 Added a comment 2018-05-04 13:57:38 +02:00
Mael Rouxel-Labbé 42c25d1c84 Readability changes (no real changes) 2018-05-04 13:57:38 +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é d041642800 Generalized Interpolation helper functors and cleaned their names 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
Andreas Fabri abc19d9c9d Add the possibility to store values and gradients in vertex_with_info 2018-05-04 13:57:38 +02:00
Andreas Fabri de5c1e4d46 Add the possibility to store value and gradient in the triangulation vertices 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
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Mael Rouxel-Labbé a926aa22cb Fixed weighted point issue in gradient fitting functions 2017-09-13 16:24:39 +02:00
Laurent Rineau 9551bae7e6 Fix a compilation error in Travis
fix the `check_pkg_Interpolation_headers` target
2017-06-29 09:45:00 +02:00
Mael Rouxel-Labbé 3a3c6b2617 Fixed missing include 2017-06-28 10:16:23 +02: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é 5d8b882294 Voronoi_intersection_2_traits_3.h should not define a Weight type 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
Mael Rouxel-Labbé b5233c93d7 Simplified the usage of traits' functors in NN_coordinates_3
There is no need to define local versions of functors that are already available
through the traits / kernel.

Also do not default construct traits.
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé b638cb4d66 Fixed surface_neighbors_3
Short version: the regular triangulation must be build using weighted points,
but the return type is (bare) points
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé e3941a663e Fixed surface_neighbor_coordinates
Short version: the regular triangulation must be build using weighted points,
but the return type is (bare) points
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé 0b187c3499 Fixed Voronoi_intersection_2_traits_3
-- Required fixes due to the removal of implicit conversions between Point and
   Weighted_point
-- Removed 'Bare_point' typedef: it is not for the traits to define this type
-- The traits class derives from a Kernel so that it can still provide
   the functors that are not redeclared in this traits class
-- Use const& for predicate members to avoid copies (the traits will live
   longer than the predicates so it's safe)
-- Minor changes (trailing whitespace, useless semicolons) that was
   too difficult to separate into a different commit
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 490949efa7 fix Interpolation package 2016-11-16 09:58:23 +01:00
Andreas Fabri 468e861a96 Rename power test in Voronoi_intersection_traits 2016-11-03 13:08:31 +01:00
Laurent Rineau 51f5697d3d Add missing #include 2016-09-30 15:23:14 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Andreas Fabri 146ca2db18 wrap in assertion_code 2013-03-21 09:31:19 +01:00
Laurent Rineau d19578725b Fix warnings 2013-02-07 18:15:23 +01:00
Andreas Fabri 13bac84716 less warnings in various packages 2013-02-01 10:27:07 +01:00
Andreas Fabri 9fea4e7c99 one less warning in Mesh_2, Point_set_2 2013-01-30 18:49:40 +01:00
Andreas Fabri 0acdb162fa one less warning in Envelope_3, Intersection_3, Interpolation 2013-01-30 18:39:40 +01:00
Andreas Fabri b307771892 bug fix for natural_neighbor_coordinates_2 using a small feature in the conflict zone functions of Delaunay_triangulation_2 2013-01-08 12:34:37 +01:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00