[][src]Crate rdp

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

Functions

drop_float_array

Free Array memory of 2D floats which Rust has allocated across the FFI boundary by simplify_rdp_ffi

drop_usize_array

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

simplify_rdp_ffi

FFI wrapper for RDP, returning simplified geometry coordinates

simplify_rdp_idx_ffi

FFI wrapper for RDP, returning simplified geometry indices

simplify_visvalingam_ffi

FFI wrapper for Visvalingam-Whyatt, returning simplified geometry coordinates

simplify_visvalingam_idx_ffi

FFI wrapper for Visvalingam-Whyatt, returning simplified geometry indices

simplify_visvalingamp_ffi

FFI wrapper for topology-preserving visvalingam

spare

No-op function for ffi compatibility. Ignore this.