simples 0.1.1

N-dimensional linestring smoothing and simplification
Documentation
  • Coverage
  • 90.91%
    20 out of 22 items documented0 out of 16 items with examples
  • Size
  • Source code size: 73.63 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.62 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • clbarnes

simples

A rust library for smoothing and simplification of N-dimensional linestrings (as &[nalgebra::Point]s) to 64-bit precision.

Intended for cases where the endpoints of the linestrings cannot be moved (for example, if they touch other objects at those locations).

Currently supports:

  • Simplification
    • Resampling at arbitrary distances
    • Ramer-Douglass-Peucker
    • Visvalingam-Whyatt
  • Smoothing
    • Moving average
    • Gaussian
    • A Kernel trait for implementing your own kernels to drop in

To do

  • Mapping old points on to resampled points
  • Use a trait instead of nalgebra points
  • tests