Constructs a new 3-dimensional trajectory by resampling the input trajectory to a fixed time interval. Points are linearly interpolated along the trajectory. Spatial and time units are preserved.
Traj3DResampleTime(trj3d, stepTime, newFps = NULL)
A new 3-dimensional trajectory with a constant time interval for each
step. Points in the new trajectory are calculated by linearly interpolating
along trj3d
.
The 3-dimensional trajectory to be resampled.
The resampled trajectory step time. Each step in the new trajectory will have this duration.
Value to be stored as the FPS value in the new trajectory (see
TrajGetFPS
). It is not otherwise used by this function.
Traj3DFromCoords
, TrajResampleTime