#Ramer-Douglas-Peucker algorithm#