simplify-polyline 0.5.0

Simplify polylines using Douglas-Peucker and radial distance algorithms. Port of the simplify-js library.
Documentation
1
2
3
4
5
use num_traits::Num;

/// Required traits a number type must implement to be used with [simplify](crate::simplify).
pub trait ExtendedNumOps: Num + Clone + Copy + PartialOrd {}
impl<T> ExtendedNumOps for T where T: Num + Clone + Copy + PartialOrd {}