track-simplifier1
- master
Simplify a polyline using various methods (radial distance, Douglas Peucker, Reuman Witkam, …).
- The polyline is simply defined as an array of points:
[ p1, p2, ..., p3 ]
- Two methods need to be provided, one to compute distance
between point
a
to pointb
and the other for the distance between pointp
and line (a
,b
).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
This work was supported by the Privamov project funded by LABEX IMU (ANR-10-LABX-0088) of Université de Lyon, within the program “Investissements d’Avenir” (ANR-11- IDEX-0007) operated by the French National Research Agency (ANR)