Traj3DLength {trajr} | R 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
[Package trajr version 1.5.1 Index]