Crate rdp [] [src]

This crate provides FFI functions for accessing the Ramer–Douglas–Peucker and Visvalingam-Whyatt line simplification algorithms

Structs

Array

A C-compatible struct used for passing arrays across the FFI boundary

Traits

SimplifyVW

Functions

drop_float_array

Free Array memory which Rust has allocated across the FFI boundary by simplify_rdp_ffi

simplify_rdp_ffi

FFI wrapper for rdp

simplify_visvalingam_ffi

FFI wrapper for visvalingam

visvalingam

Simplify a line using the Visvalingam-Whyatt algorithm