🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: sci.math.symbolic
1 messages
1 total messages Started by Sean Burke22 Wed, 27 Jan 1993 23:48
Problem: Computing path length on cubic spline?
#1011
Author: Sean Burke22
Date: Wed, 27 Jan 1993 23:48
28 lines
1383 bytes
Hi Netters,

  I've stumbled on what appears to be a surprisingly intractable
problem.  Let us say that you are using a set of cubic spline
functions to define a path through a set of points.  Now you
want to know the total length of this path.  Simple, right?
For each spline function,

	 y = A + Bx + Cx^2 + Dx^3
so
	dy = [b + 2cx + + 3Dx^2]

so the path length is described by a differential equation of the form

	dl = SQRoot[ dx^2 + dy^2] = SQRoot[Q + Rx + Sx^2 + Tx^3 + Ux^4]dx

  I have come to despair of finding an indefinite or definite 
closed-form solution to the integral of dl.  Is there no 
alternative to integrating these spline functions numerically? (Ouch!)
I thought that cubic splines were pretty straightforward, but 
suddenly I'm in over my head.  If anyone has encountered this
problem before, or cares to make a suggestion, I would be grateful.

Sean Burke
-- 

Sean Burke			sean@netcom.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads