Expand description
This crate provides FFI functions for accessing the Ramer–Douglas–Peucker and Visvalingam-Whyatt line simplification algorithms
Structs§
- External
Array - A C-compatible
struct
originating outside Rust used for passing arrays across the FFI boundary - Internal
Array - A C-compatible
struct
originating inside Rust used for passing arrays across the FFI boundary
Functions§
- drop_
float_ array - Free memory which has been allocated across the FFI boundary by:
- drop_
usize_ array - Free memory which has been allocated across the FFI boundary by:
- 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-Whyatt, returning simplified geometry coordinates.