vertexdists.to.point {freesurferformats}R Documentation

Compute Euclidean distance from all mesh vertices to given point.

Description

Compute Euclidean distance from all mesh vertices to given point.

Usage

vertexdists.to.point(surface, point_coords)

Arguments

surface

an fs.surface instance

point_coords

double vector of length 3, the xyz coords of a single point.

Value

double vector of distances

See Also

Other Euclidean distance util functions: closest.vert.to.point(), vertex.euclid.dist()


[Package freesurferformats version 0.1.18 Index]