Hi Onur
for that you need a surface file. If you are using matlab you can load a
surface file in with read_surf.m. The <vertex index> will then be an index
into the surface (although note that you will need to add 1 to it since
matlab is 1-based when you index into the vertex list). It will return a
list of vertex locations and also a list of faces. The faces contain the
(0-based) indices of the vertices in each triangle, which can be used to
compile a list of neighbors.
cheers
Bruce
On Sun, 18 Dec 2016, Onur Uğurlu wrote:
>
> Hi all,
>
>
> I have a 'lh.thickness.asc' file which contains thickness values of each
> vertex.
>
> The format of the file is following;
>
> <vertex index> <x> <y> <z> <thickness>
>
> However, x,y,z are not integer. What is the unit of the x,y,z values in the
> file? I am trying to find all the neighborhood of any given vertex as x,y,z
> -> x+1,y,z etc, can you suggest a method for this problem.
>
>
> Sincerely yours,
>
> Onur
>
>
>