track.length: Compute the total length of a path given by the coordinates...

Description Usage Arguments Value

View source: R/vis_dti_tracks.R

Description

Compute the total length of a path given by the coordinates of its points.

Usage

1
track.length(point_coords)

Arguments

point_coords

n x 3 numerical matrix of 3D point coordinates, in the order of traversal.

Value

float, the sum of the length of all segments of the path.


fsbrain documentation built on Sept. 16, 2021, 5:07 p.m.