[vtkusers] Curve / Equal Subdivision

Jean-Hugues Royer jhroyer at joher.com
Tue Jul 10 09:59:52 EDT 2012


Hi,

I have a curve which is a vtkPoints array.

I would like to generate another vtkPoints array where every consecutive 
points have the same distance. (basically divide the curve to n equals 
segments)

I tried to use vtkParametricSpline/vtkParametricFunctionSource but I was 
only able to change the number of points to another value but I didn't 
find how to specify that these new points should be equally distributed.

Any idea ?




More information about the vtkusers mailing list