Hello, <br><br>I construct a polyline from the output of contourfilter. After constructing<br>polyline, i found that, the points in this polyline are unevenly spaced<br>(unequally spaced). <br><br>Thus i used vtkSplineFilter to distribute points evenly on this polyline.<br>But when i get the output from this filter, is like, at the junction point, of<br>two lines, points are more closer than the specified length, here is <br>the code what i wrote.<br><br>// few lines of code, to construct unstructuredGrid<br>// which is passed to the contourfilter<br><br>vtkContourFilter *contFilter = vtkContourFilter::New();<br>contFilter-&gt;SetInputConnection(del-&gt;GetOutputPort());<br>contFilter-&gt;GenerateValues(1, -8.5, -8.5);<br>contFilter-&gt;Update();<br><br>vtkSplineFilter *sf = vtkSplineFilter::New();<br>sf-&gt;SetInputConnection(contFilter-&gt;GetOutputPort());<br>sf-&gt;SetSubdivideToLength();<br>sf-&gt;SetLength(50);<br><br>vtkStripper *stp = vtkStripper::New();<br>stp-&gt;S
 etInputConnection( sf-&gt;GetOutputPort());<br>stp-&gt;Update();<br><br>Later I extract a polyline from vtkStripper as shown in<br>example below:<br><pre><a target=\"_blank\" href="http://vtk.org/Wiki/VTK/Examples/ExtractPolyLinesFromPolyData#ExtractPolyLinesFromPolyData.cxx">http://vtk.org/Wiki/VTK/Examples/ExtractPolyLinesFromPolyData#ExtractPolyLinesFromPolyData.cxx</a><br><br>I do get the output as expected but with a <br>small variation. i.e. at the place where<br>two lines meet, the spacing is not same as <br>mentioned in the code.<br><br>How do i overcome this problem..??<br><br>Thanks in advance<br></pre><br>