I'm trying to write a Shortest Path Algorithm for Meshes, and finding neighbouring vertices of any given Mesh vertex is something I am having a hard time with. Is there some method in the SDK that retrieves the neighbours of any vertex of the Mesh in an array/list format?
Not having this functionality is currently limiting me to only rectangular meshes (just as Nurbs), and a lot of cumbersome code for edges/corners/holes/etc. Which makes me think surely there is a more elegant way to go about this.
Suggestions?
Tags: