points_exact.tcl
This example shows how one goes from randomly spaced data points to an evenly sampled \ref d_surf "surface".


We have 13504 interpolation points (file examples/surfit/points/points.txt) and equidistant grid with more than 250000 nodes. To produce interpolation evenly sampled surface we do the following things:

• set tolerance
• load scattered data points from file
• create equidistant grid with 512x512 nodes
• create sequecne of gridding rules (how to use data points and space between them)
• run surfit algorithm
• save results to file

Here is the image of the resulting surface:

Pic 1. interpolated surface

Pic 2. small part of interpolated surface

This result was obtained with "examples/surfit/points/points_exact.tcl" script.