runnerup
runnerup copied to clipboard
Preserve lap information in PathSimplifier
I noticed lap times and distances changed quite a bit when simplifying the path, this PR tries to change that.
It looks like the code already simplifies by segment, I tried to make it so that every lap is a segment. I quickly tested it and it seems to work, but it's possible I overlooked some things.
No comments?
I do not use the simplifier myself, have not considered the implications. The PR was in draft, so I was kind of waiting for it to be updated. Can you rebase after the code was reformatted?