Module geo.simplification

Polyline simplification algorithms.

Date

September 12, 2026

Functions

NameDescription
douglasPeuckerWorkspaceSize(pointCount) Returns the maximum workspace length required by trySimplifyDouglasPeuckerInto() for a polyline containing pointCount stored points.
trySimplifyDouglasPeuckerInto(polyline, tolerance, destination, workspace, written) Simplifies a polyline using the Douglas-Peucker algorithm.