Functions | |
| template<typename _Iter > | |
| _Iter | prune (_Iter _begin, _Iter _end, size_t _step) |
| inplace pruning for a random-access iterator-sequence More... | |
| _Iter gpp_prune_path::internal::prune | ( | _Iter | _begin, |
| _Iter | _end, | ||
| size_t | _step | ||
| ) |
inplace pruning for a random-access iterator-sequence
The generated sequence will always contain the first and last pose. Use it in combination with erase, to obtain a pruned sequence.
Below some examples:
| _Iter | random access iterator |
| _begin | begin of the sequence |
| _end | end of the sequence |
| _step | positive integer for skipping |
Definition at line 68 of file gpp_prune_path.hpp.