cgal/Interpolation/examples/Interpolation
Sylvain Pion 97baf47fb3 Replace Triangulation_hierarchy_3 by the Fast_location policy. 2009-11-04 13:30:22 +00:00
..
data Move packages to trunk root 2006-02-14 08:58:15 +00:00
README Move packages to trunk root 2006-02-14 08:58:15 +00:00
interpolation_2.cpp Replace struct K .. with typedef .. K 2008-11-24 10:50:30 +00:00
linear_interpolation_2.cpp Replace struct K .. with typedef .. K 2008-11-24 10:50:30 +00:00
nn_coordinates_2.cpp Replace struct K .. with typedef .. K 2008-11-24 10:50:30 +00:00
nn_coordinates_3.cpp Replace Triangulation_hierarchy_3 by the Fast_location policy. 2009-11-04 13:30:22 +00:00
rn_coordinates_2.cpp Replace struct K .. with typedef .. K 2008-11-24 10:50:30 +00:00
sibson_interpolation_2.cpp Replace struct K .. with typedef .. K 2008-11-24 10:50:30 +00:00
surface_neighbor_coordinates_3.cpp Replace struct K .. with typedef .. K 2008-11-24 10:50:30 +00: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_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.