[vtkusers] difficulty in finding cell..??

David Doria daviddoria+vtk at gmail.com
Sat Mar 27 17:23:24 EDT 2010


>
> Hi,
>
> I have an unstructured grid, containing several cells... Now, using a point
> id, is there any way to find out, in which cell that point resides..??
>
> Thanks
>
> Regards
> Rakesh Patil
>
>
> This is clearly not efficient, but you could loop through all the cells and
test if the point is inside each of them using this:
http://www.vtk.org/Wiki/VTK/Examples/PointInsideObject

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100327/10c9ebd8/attachment.htm>


More information about the vtkusers mailing list