[vtkusers] vtkpointId and vtkcellid
Kevin H. Hobbs
hobbsk at ohiou.edu
Fri Aug 18 11:53:54 EDT 2006
On Fri, 2006-08-18 at 09:48 -0500, Amitesh Agarwal wrote:
> Hello Kevin,
>
> Thanks a lot for the help. I have one more question.
>
> If I have a point coordinate is it possible to find its pointid and
> cell id of the cell in which the point lies? If yes then how?
>
> Amitesh
>
You can use a locator, there happens to be one built into the point set
class look at the 'FindPoint' methods for point sets:
http://www.vtk.org/doc/nightly/html/classvtkPointSet.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060818/9d769fa3/attachment.pgp>
More information about the vtkusers
mailing list