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

View source: R/surface_dist.R

vertex.euclid.distR Documentation

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)

Arguments

surface

an fs.surface instance

v1

positive integer, vertex index of v1

v2

positive integer, vertex index of v2

Value

double, the Euclidean distance between v1 and v2

See Also

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


freesurferformats documentation built on May 29, 2024, 5:29 a.m.