Hello guys!(adsbygoogle = window.adsbygoogle || []).push({});

I'm stuck with this for a 4th day now..

I have a set of data and for every data point I want to calculate a curvature. In order to do that I use Catmullrom spline to interpolate points and get derivatives f' and f". Curvature is defined as y"/ (1+y'^2)^3/2.

However, at some points calculated curvature is incorrect.

It is known, that Catmullrom is C1 continuous, so f" is NOT continuous.

I have read somewhere, that f' means slope and f" - curvature.

My question would be: for curvature calculations, can I rely on Catmullrom spline if it is only C1 continuous (not C2)?

Or should i use NURBS? Any easier approach?

Thank you very much!

Ginga

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Curvature of Catmullrom spline

**Physics Forums | Science Articles, Homework Help, Discussion**