A function for calculating the subsets of translations to be tested using the LCSS methods.

1 | ```
TranslationSubset(traj1, traj2, pointSpacing, pointDistance)
``` |

`traj1` |
A vector containing one dimension of trajectory1. |

`traj2` |
A vector containing one dimension of trajectory2. |

`pointSpacing` |
An integer value of the maximum index difference between trajectory1 and trajectory2 allowed in the calculation. |

`pointDistance` |
A floating point number representing the maximum distance in each dimension allowed for points to be considered equivalent. |

This function is called by the `LCSS`

method to calculate the translations required.

A vector of floating point numbers is returned containing the translations calculated. This vector is sorted in ascending order.

Kevin Toohey

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.