Main Page   Modules   File List  

curvatures.c File Reference

compute the curvatures of a natural cubic spline More...


Detailed Description

compute the curvatures of a natural cubic spline

Usage: curvatures spline.txt n out.txt

Description: Samples the spline in spline.txt and compute the curvature at each sample point. The file spline.txt contains a 2D or 3D spline under the format:
s nbpoints
x1 y1
x2 y2
x3 y3
...
or: S nbpoints
x1 y1 z1
x2 y2 z2
x3 y3 z3
...

Types supported: 2D, 3D splines

Category: geo

Author:
Michel Couprie

Generated on Fri Dec 17 11:59:37 2004 for Pink by doxygen1.2.18