simples

Crates.iosimples
lib.rssimples
version0.1.1
sourcesrc
created_at2022-10-31 15:26:45.823566
updated_at2022-10-31 15:26:45.823566
descriptionN-dimensional linestring smoothing and simplification
homepage
repository
max_upload_size
id702273
size23,481
Chris Barnes (clbarnes)

documentation

README

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
Commit count: 0

cargo fmt