track.length {fsbrain} | R Documentation |
Compute the total length of a path given by the coordinates of its points.
track.length(point_coords)
point_coords |
n x 3 numerical matrix of 3D point coordinates, in the order of traversal. |
float, the sum of the length of all segments of the path.