POV-Ray : Newsgroups : povray.general : spline length? : Re: spline length? Server Time
6 Aug 2024 17:03:50 EDT (-0400)
  Re: spline length?  
From: Chris Colefax
Date: 7 Apr 2002 20:35:09
Message: <3cb0e5bd@news.povray.org>
"Chris Colefax" <chr### [at] tagpovrayorg> wrote:
> to find a spline's length, then, is probably sampling linear distances at
> steps along the spline.  Also, a rough approximation can be calculated
> using
> the bezier hull length.

Gleb <gk1### [at] sotonacuk> asked:
> Is it the same approximation method as mentioned in
> http://research.microsoft.com/~hollasch/cgindex/curves/cbezarclen.html  ?

Yes, the average of the linear length between the end points and the linear
length of the bezier hull is the approximation I've used (in fact, I believe
I discovered this at the same URL you posted).


Post a reply to this message

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