<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Hi</div><span style="font-family:arial,sans-serif;font-size:13px"> </span><span style="font-family:arial,sans-serif;font-size:13px;color:rgb(80,0,80)">VTK/Examples/Cxx/PolyData/</span><span style="font-family:arial,sans-serif;font-size:13px;color:rgb(80,0,80)">PointInsideObject.example works well for a sphere.I could be able to check three points manually (one is in,the other one is on the surface,and the last one is outside the surface) correctly.But I want to use an ND array to feed data( as an array to be used in my actual liver program) to check enclosed points.What I want to know is" Do I have to convert array values to polydata points?" .Can you please give me a small hint Codes are attached herewith.</span><div style="font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(80,0,80)"><br></span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(80,0,80)">regards</span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(80,0,80)"><br>
</span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(80,0,80)">Shirani</span></div><div class="" style="font-family:arial,sans-serif;font-size:13px"><div id=":1mq" class="" tabindex="0">
<img class="" src="https://mail.google.com/mail/images/cleardot.gif"></div></div></div>