Library next up previous contents
Next: Viewing a Grid Up: Examples Previous: Clipping

Calculating the Error of the Spline Tool

The following program can be used to excamine the error of the spline tool. This could be taken as a measure for the smoothnes of a surface.

        gr_spline -f test.dat -n 1000 | gr_lift -f test.dat -pipe

In the same way the error of the bspline or the nurbs tool can be measured. This is useful cause the control points are often used for the representaion of the curve itself. Therfore one would like the error between curve and controlpoint polygon to be small.



Jens Trapp
Wed Jun 12 20:34:13 MET DST 1996