POV-Ray : Newsgroups : povray.advanced-users : Length of spline... : Re: Length of spline... Server Time
30 Jul 2024 08:27:07 EDT (-0400)
  Re: Length of spline...  
From: Fabian BRAU
Date: 27 Oct 2000 03:06:58
Message: <39F92976.1E395160@umh.ac.be>
Could you give me the form of the function (this mathematical form)?

Thanks,

Fabian.


> 
> I wrote:
> > Due to the maths involved, there is no known way to calculate the exact
> > length of a cubic spline.  The best method is usually to sum the linear
> > distances between a number of steps along the spline - obviously, the more
> > steps, the more accurate the result (at the cost of speed)...
> 
> Fabian BRAU <Fab### [at] umhacbe> wrote:
> > If you know the exact form of the function (the spline) you
> > can calculate the length of the spline, this involve a simple integrale.
> > Actually this is what you do approximately by using straight line
> > between point.
> 
> Yes, it seems obvious that you could integrate the spline function to find
> the exact length.  But like I said, there is simply no known way *to*
> integrate the function.  To create my Spline Macro File I searched and
> re-searched the web for the right formulas, and also started from first
> principals to derive the functions myself, before attempting (without
> success) the necessary integration in MathCAD.  I guess it shows that there
> are limits to our knowledge of mathematics....


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.