<div dir="ltr">So you are saying that the ExtractSurface on the Unstructured grid won't produce the same polydata since it will be more refined than your file2? If that's the case, then maybe just looking for point closer could be the solution.</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 3, 2018 at 10:56 AM Fastl, Thomas <<a href="mailto:thomas.fastl@kcl.ac.uk">thomas.fastl@kcl.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_7262838405771565173divtagdefaultwrapper" style="font-size:10pt;color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hey Sebastien,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">the UNSTRUCTURED_GRID (vtk-file 1) has around 10^8 POINTS, while the POYDATA (vtk-file 2) has around 10^6 POINTS, i.e., the POINTS in vtk-file 2 are a subset of the POINTS in vtk-file 1. Additionally, the POINTS in vtk-file
2 have some rounding error so that the location of "corresponding points" doesn't matches exactly and a nearest neighbor seems necessary.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Best, Thomas</p>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_7262838405771565173divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Sebastien Jourdain <<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>><br>
<b>Sent:</b> Friday, August 3, 2018 17:20<br>
<b>To:</b> Fastl, Thomas<br>
<b>Cc:</b> paraview<br>
<b>Subject:</b> Re: [Paraview] Extract Point Data | Nearest Neighbor Location</font>
<div> </div>
</div>
<div>
<div dir="ltr">If they are truly the "same" why don't you forget your file2 and generate a polydata from the file1 as a file3?</div>
<br>
<div class="m_7262838405771565173x_gmail_quote">
<div dir="ltr">On Fri, Aug 3, 2018 at 9:41 AM Fastl, Thomas <<a href="mailto:thomas.fastl@kcl.ac.uk" id="m_7262838405771565173LPlnk338323" class="m_7262838405771565173OWAAutoLink" target="_blank">thomas.fastl@kcl.ac.uk</a>> wrote:<br>
</div>
<blockquote class="m_7262838405771565173x_gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_7262838405771565173x_m_-4765869371335343546divtagdefaultwrapper" dir="ltr" style="font-size:10pt;color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="margin-top:0;margin-bottom:0">Dear Community,</p>
<p style="margin-top:0;margin-bottom:0"><span style="font-size:10pt"><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span style="font-size:10pt">I've got an UNSTRUCTURED_GRID (vtk-file 1</span><span style="font-size:10pt">) with POINT_DATA and want to extract the POINT_DATA at specific POINTS</span><span style="font-size:10pt">. However,
the POINTS are defined </span><span style="font-size:10pt">in POLYDATA (vtk-file 2) and are slightly off by some rounding error. Thus, I presume the process should look similar to:</span></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">1) Find the nearest neighbors of all POINTS defined in vtk-file 2 in vtk-file 1</p>
<p style="margin-top:0;margin-bottom:0">2) Transfer/Store the POINT_DATA of the nearest neighbors in vtk-file 1</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I've been searching the forum for hours, however, couldn't find a solution to that problem. I was wondering if there's a simple solution of doing this in Paraview? I'd really appreciate your help on this issue, thank
you!</p>
<p style="margin-top:0;margin-bottom:0"><span style="font-size:10pt"></span></p>
<p style="margin-top:0;margin-bottom:0"><span style="font-size:10pt"><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span style="font-size:10pt"></span><span style="font-size:10pt">Best, Thomas</span></p>
<div id="m_7262838405771565173x_m_-4765869371335343546Signature">
<div id="m_7262838405771565173x_m_-4765869371335343546divtagdefaultwrapper" dir="ltr" style="font-size:10pt;color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="x_divtagdefaultwrapper" style="margin:0px">
<div>
<div>
<div>
<div style="font-family:Tahoma;font-size:13px"><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Powered by <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=01%7C01%7Cthomas.fastl%40kcl.ac.uk%7Ce5763891c0f6453319f108d5f95d16fd%7C8370cf1416f34c16b83c724071654356%7C0&sdata=1tZnhbKqOJXcXbg0Tp2m8D2gjHP8MOb7HGdGUc0EgD8%3D&reserved=0" rel="noreferrer" id="m_7262838405771565173LPlnk614420" class="m_7262838405771565173OWAAutoLink" target="_blank">
www.kitware.com</a><br>
<br>
ParaView discussion is moving! Please visit <a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdiscourse.paraview.org%2F&data=01%7C01%7Cthomas.fastl%40kcl.ac.uk%7Ce5763891c0f6453319f108d5f95d16fd%7C8370cf1416f34c16b83c724071654356%7C0&sdata=k6yXwz%2FsmevXQOR8FGQCAscP2996kdUPrdujqiV%2Fcg0%3D&reserved=0" rel="noreferrer" id="m_7262838405771565173LPlnk571029" class="m_7262838405771565173OWAAutoLink" target="_blank">
https://discourse.paraview.org/</a> for future posts.<br>
<br>
Visit other Kitware open-source projects at <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=01%7C01%7Cthomas.fastl%40kcl.ac.uk%7Ce5763891c0f6453319f108d5f95d16fd%7C8370cf1416f34c16b83c724071654356%7C0&sdata=k3qytN9NYE%2BVh6ZE99Kd1DUbtLIdGi3VuRqo1iQIht0%3D&reserved=0" rel="noreferrer" id="m_7262838405771565173LPlnk813288" class="m_7262838405771565173OWAAutoLink" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fparaview.org%2FWiki%2FParaView&data=01%7C01%7Cthomas.fastl%40kcl.ac.uk%7Ce5763891c0f6453319f108d5f95d16fd%7C8370cf1416f34c16b83c724071654356%7C0&sdata=diUlLjUJJAbNWnE%2FzjxJM7uaYq9brB8MBjq0160kVWA%3D&reserved=0" rel="noreferrer" id="m_7262838405771565173LPlnk834291" class="m_7262838405771565173OWAAutoLink" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3DParaView&data=01%7C01%7Cthomas.fastl%40kcl.ac.uk%7Ce5763891c0f6453319f108d5f95d16fd%7C8370cf1416f34c16b83c724071654356%7C0&sdata=E0og4nleW31GkHJ0tL8nSySbRyZAqnODikkJqYSZmS8%3D&reserved=0" rel="noreferrer" id="m_7262838405771565173LPlnk920115" class="m_7262838405771565173OWAAutoLink" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fparaview&data=01%7C01%7Cthomas.fastl%40kcl.ac.uk%7Ce5763891c0f6453319f108d5f95d16fd%7C8370cf1416f34c16b83c724071654356%7C0&sdata=R%2BrvA3fbK9R10O%2B4wYkwK8Qmgm64hcCa%2B7kd%2FukBI9I%3D&reserved=0" rel="noreferrer" id="m_7262838405771565173LPlnk540349" class="m_7262838405771565173OWAAutoLink" target="_blank">https://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote></div>