Crate ramer_douglas_peucker[][src]

An implementation of the Ramer Douglas Peucker algorithm.

Given a slice of Point2 and an epsilon, the rdp() function will return a Vec of which indices to keep.

Functions

rdp

Given a set of points and an epsilon, returns a list of indexes to keep.