From: Sakis Gaitatzes (gaitat++at++yahoo.com)
Date: 02/07/2005 11:40:28
pfHi all,
I have created a pfMesh by just adding triangles to it and I would like to go
through the mesh and get the neighbors of each vertex to check its correctness.
One way to do it is to get each pfMeshVertex from the pfMesh,
get its numbers of neighbors and
for each neighbor
get the stuff that I want.
Another way I assume is to traverse the neighbors of a pfMeshVertex by using
the getNextNeighbor() method which seems more elegant. But I cant seem to get
it to work so some example would be really helpful. Just printing the neighbors
would suffice.
pfThanks
=====
Athanasios Gaitatzes (Saki)
e-mail: gaitat at yahoo dot com
url: http://www.virtuality.gr/
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
This archive was generated by hypermail 2b29 : Mon Feb 07 2005 - 11:40:33 PST