does pp.breaks represent the arc length ?

1 view (last 30 days)
Omar Fahmy
Omar Fahmy on 25 Mar 2021
Commented: Omar Fahmy on 31 Mar 2021
Hello,
I am working on curve modelling with splines and when looking up pp.breaks it gives me a vector with numbers. After reading the documentation I find out that pp.breaks represents a length L. Is this length L the same as the arc length L ?

Answers (1)

John D'Errico
John D'Errico on 25 Mar 2021
Edited: John D'Errico on 25 Mar 2021
NO. Not even remotely close to the arc length for a standard spline, perhaps something computed using the function spline.
Although depending on what spline you are working with, say something computed using cscvn, then it can be interpreted in terms of the distance between consecutive points as a set of straight lines or chords. In that case, there is some relation to arc length. But your question is far too vgue to have any idea what splines you are working with.
Are you trying to compute arc length for a curve?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!