I don&#39;t know if there ir a class that do that..<br>But as firs idea, one could be :<br><br>Traverse the one with more number of points, and for each point, check if exitsts in the other polydata, if not, add it.<br><br>

<div class="gmail_quote">2012/8/24  <span dir="ltr">&lt;<a href="mailto:huangcheng1987928@gmail.com" target="_blank">huangcheng1987928@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<u></u>





<div style="MARGIN:10px">
<div>Hi all,</div>
<div> </div>
<div>        If I get two vtkPolyData but 
they have different number of points, is there a way to resample one of them to 
make sure these two polydata have the same number of points?</div>
<div> </div>
<div>Regards,</div>
<div> </div>
<hr style="WIDTH:210px;min-height:1px" align="left" color="#b5c4df" size="1">

<div><span><span>Chester 
Huang</span></span></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>--------<br>Gonzalo Amadio<br><br>