Andrew Jameson

04-26-2003, 03:23 AM

Hi,

We're now in the final stages of product completion and need to address a couple of minor tweaks. We use bezier curves to define many of our object trajectories ... but we use linear interpolation based on the origin to destination ... and for 95% of the time the effect is fine. However for short 'as the crow flies' trajectories, there is a significant difference between the actual curve distance.

Is there a way in which we could derive an very rough approximation of the bezier path length ?

Whilst our maths isn't too bad ... we'd appreciate responses that are more practical and maybe not those from the academic world !

We use a bezier definition of StartPoint, ControlPoint1, ControlPoint2 and EndPoint - all defined as Vectors.

Many thanks

Andrew

We're now in the final stages of product completion and need to address a couple of minor tweaks. We use bezier curves to define many of our object trajectories ... but we use linear interpolation based on the origin to destination ... and for 95% of the time the effect is fine. However for short 'as the crow flies' trajectories, there is a significant difference between the actual curve distance.

Is there a way in which we could derive an very rough approximation of the bezier path length ?

Whilst our maths isn't too bad ... we'd appreciate responses that are more practical and maybe not those from the academic world !

We use a bezier definition of StartPoint, ControlPoint1, ControlPoint2 and EndPoint - all defined as Vectors.

Many thanks

Andrew