vertex.coords: Return coordinates for vertices, supporting entire brain via...

View source: R/highlight.R

vertex.coordsR Documentation

Return coordinates for vertices, supporting entire brain via hemilist.

Description

Return coordinates for vertices, supporting entire brain via hemilist.

Usage

vertex.coords(surface, vertices)

Arguments

surface

an fs.surface instance, see subject.surface function. Can also be a hemilist of surfaces, in which case the vertices must be indices over both meshes (in range 1..(nv(lh)+nv(rh))). If a hemilist, both entries must be surfaces (non-NULL).

vertices

vector of positive integers, the vertex indices. Values which are outside of the valid indices for the surface will be silently ignored, making it easier to work with the two hemispheres.

Value

double nx3 matrix of vertex coordinates.

See Also

Other 3d utility functions: highlight.points.spheres(), highlight.vertices.spheres()


dfsp-spirit/fsbrain documentation built on Nov. 28, 2024, 10:29 a.m.