Learn R Programming

freesurferformats (version 0.1.18)

vertex.euclid.dist: Compute Euclidean distance between two vertices v1 and v2.

Description

Compute Euclidean distance between two vertices v1 and v2.

Usage

vertex.euclid.dist(surface, v1, v2)

Value

double, the Euclidean distance between v1 and v2

Arguments

surface

an fs.surface instance

v1

positive integer, vertex index of v1

v2

positive integer, vertex index of v2

See Also

Other Euclidean distance util functions: closest.vert.to.point(), vertexdists.to.point()