Traj3DLength: 3D trajectory length

View source: R/3D.R

Traj3DLengthR Documentation

3D trajectory length

Description

Calculates the cumulative length of a 3-dimensional trajectory, or a portion of a trajectory. The length is the total distance travelled along the trajectory.

Usage

Traj3DLength(trj3d, startIndex = 1, endIndex = nrow(trj3d))

Arguments

trj3d

3D trajectory whose length is to be calculated.

startIndex

Index of the starting point.

endIndex

Index of the ending point.

Value

Numeric length of the trajectory.

See Also

Traj3DFromCoords, Traj3DStepLengths, TrajLength


trajr documentation built on May 29, 2024, 11:52 a.m.