Traj3DStepLengths: 3D trajectory step lengths

View source: R/3D.R

Traj3DStepLengthsR Documentation

3D trajectory step lengths

Description

Returns the lengths of each step in a 3-dimensional trajectory (or part of a trajectory).

Usage

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

Arguments

trj3d

Trajectory to query.

startIndex

Index of the starting point.

endIndex

Index of the ending point.

Value

Vector of step lengths. The vector will have length 1 - TrajGetNCoords(trj3d).

See Also

Traj3DFromCoords, Traj3DLength, TrajStepLengths


trajr documentation built on July 9, 2023, 6:03 p.m.