Compute a trajectory from a set of points.
The result is either a linestring or a multipoint depending on whether the interpolation is step/discrete or linear.
- Note
- The function does not remove duplicate points, that is, repeated points in a multipoint or consecutive equal points in a line string. This should be done in the calling function.
- Parameters
-
[in] | lwpoints | Array of points |
[in] | count | Number of elements in the input array |
[in] | interp | Interpolation |