getTrajectoryLength.Rd
Computes and returns the length of a spatial trajectory.
getTrajectoryLength(object, id, unit = "px", round = FALSE, as_numeric = FALSE)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Character value. Specifies the desired unit in
which distance measures
or area measures are provided.
Run validUnitsOfLength()
or validUnitsOfArea()
for valid
input options.
The length of the spatial directory as a single distance value.