cgal/Interpolation/examples/Interpolation
Laurent Rineau e5001d1a50 update our CMake version 3.18...3.31
That will suppress the warnings about `CMP0167` (from CMake 3.30):

```
CMake Warning (dev) at cmake/modules/display-third-party-libs-versions.cmake:37 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
```
2025-02-04 14:32:37 +01:00
..
data
CMakeLists.txt update our CMake version 3.18...3.31 2025-02-04 14:32:37 +01:00
README Added a simple example of nn_coordinates with OutputFunctor 2018-05-04 13:57:40 +02:00
interpolation_2.cpp remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead 2019-03-29 13:28:32 +01:00
interpolation_vertex_with_info_2.cpp Fix deprecated std::iterator inheritance by using lambda functions 2021-03-31 10:06:19 +02:00
linear_interpolation_2.cpp Clarified functor names 2018-05-04 13:57:39 +02:00
linear_interpolation_of_vector_3.cpp Remove unused variables 2018-10-10 07:59:20 +02:00
nn_coordinates_2.cpp Improved examples (rn|nn)_coordinates_2.cpp 2018-05-04 13:57:40 +02:00
nn_coordinates_3.cpp Fixed trailing whitespace and (some of the) inconsistent indentation 2018-05-04 13:57:38 +02:00
nn_coordinates_with_info_2.cpp Added a simple example of nn_coordinates with OutputFunctor 2018-05-04 13:57:40 +02:00
rn_coordinates_2.cpp Improved examples (rn|nn)_coordinates_2.cpp 2018-05-04 13:57:40 +02:00
sibson_interpolation_2.cpp Interpolation 2019-06-03 18:20:42 +02:00
sibson_interpolation_rn_2.cpp Interpolation 2019-06-03 18:20:42 +02:00
sibson_interpolation_rn_vertex_with_info_2.cpp Fix deprecated std::iterator inheritance by using lambda functions 2021-03-31 10:06:19 +02:00
sibson_interpolation_vertex_with_info_2.cpp remove c++17 deprecation warning 2021-10-19 15:11:04 +02:00
surface_neighbor_coordinates_3.cpp Interpolation 2019-06-03 18:20:42 +02:00

README

To compile and run all these examples type : make
To compile and run only some of them type  : make name-of_wanted_example
 
nn_coordinates_2: shows how to compute 2D natural coordinates 
	given a 2D Delaunay triangulation  and a query point.

nn_coordinates_with_info_2: same as above, using a functor to
        change the default option and store the coordinates
        in the vertices.

nn_coordinates_3: shows how to compute 3D natural coordinates 
	given a 3D Delaunay triangulation  and a query point.

rn_coordinates_2: shows how to compute 2D regular (natural) coordinates 
	given a 2D Regular triangulation  and a (weighted) query point.

linear_interpolation_2: interpolates a linear function using the 
	linear_interpolation function and 2D natural neighbor coordinates.

sibson_interpolation_2: interpolates a spherical function using the 
	sibson_gradient_fitting and sibson_c1_interpolation function with 
	2D natural neighbor coordinates.

surface_neighbor_coordinates_3: shows how to compute natural neighbor 
	coordinates on surfaces. Example of the sphere.

interpolation_2: this example allows to numerically compare the error 
	committed by the different interpolation function when interpolating 
	a predefined function on random points.