Commit Graph

57 Commits

Author SHA1 Message Date
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
Sébastien Loriot 587fe22bc9 remove warning 2011-11-25 08:42:03 +00:00
Sébastien Loriot e5a96255ba *remove warnings.
In particular remove UNTESTED_XXXXXXXXXXX unused variable that possibly hide true warnings. 
In those cases, the string printed while executed now starts with "NOTE: ".
*CGAL internal code no longer rely on depecrated features
2011-02-28 15:28:28 +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 7dfdf113c8 add missing * in a wrapper around output_iterator 2010-10-26 14:14:15 +00:00
Andreas Fabri 152caf3b4a static_cast 2010-06-22 17:02:41 +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 Fabri 7955305e53 Add missig typename (for g++) 2010-03-24 15:14:08 +00:00
Andreas Fabri dce10fb625 The symbolic perturbation makes that the conflict zone
is too big for the interpolation. As a consequence 
we would have points with lambda = 0 in the output
Therefore we filter them out again
2010-03-24 15:13:24 +00:00
Sylvain Pion 8b542216dc Add missing header CGAL/utility.h 2008-07-27 11:54:19 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Sylvain Pion 1d8779b171 Rename the following functions:
det2x2_by_formula
  det3x3_by_formula
  det4x4_by_formula
  det5x5_by_formula
  det6x6_by_formula
to:
  determinant

How cute...  a name independent of the dimension, and even readable !
2008-04-09 13:35:34 +00:00
Sylvain Pion b0f2c77fdc Remove casts to Oriented_side.
They are useless since we merged the various enum types.
2008-04-09 12:35:10 +00:00
Sylvain Pion b740e90de0 Rename the following functions:
sign_of_determinant2x2
  sign_of_determinant3x3
  sign_of_determinant4x4
  sign_of_determinant5x5
  sign_of_determinant6x6
to:
  sign_of_determinant

So that we have less dimension-dependent namings, at least internally...
2008-04-09 12:20:25 +00:00
Sylvain Pion e3822706b9 Get rid of CGAL_REP_CLASS_DEFINED 2008-01-03 19:07:39 +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
Sylvain Pion 8cc64f92b7 Fix bug concerning wrong initialization of norm_coeff to 1 instead of 0 (reported by Tom Bobach). 2007-07-23 14:54:27 +00:00
Sylvain Pion 1c82d5ebb2 Add Less_x_2 and Less_y_2 (new requirements of TriangulationTraits_2 through
the integration of spatial_sort()).
2007-03-24 10:33:40 +00:00
Andreas Fabri 4be69871a3 Removed unused parameter 2007-03-23 07:29:55 +00:00
Andreas Fabri ff11ec3fe9 removed unused parameters 2007-03-20 08:10:35 +00:00
Michael Hemmer 854ea80b4b rm use of CGALi::Is_field etc
replaced by use of Algebraic_category tag
2007-03-12 17:34:47 +00:00
Sylvain Pion ff3ed2902b remove warnings 2007-03-03 09:02:08 +00:00
Sylvain Pion 4982fac824 remove warning 2007-03-03 09:00:24 +00:00
Michael Hemmer ffdc45e0c4 rm use of Number_type_traits 2006-11-16 13:29:40 +00:00
Naceur Meskini 564f380e53 last version 2006-10-10 11:57:17 +00:00