Skip to content

Documentation / @geoverse/core-ol / douglasPeucker

Function: douglasPeucker()

ts
function douglasPeucker(points, threshold): TrackPoint[];

Defined in: packages/core-ol/src/tools/trackThin.ts:71

Douglas-Peucker 抽稀

Parameters

points

TrackPoint[]

threshold

number

Returns

TrackPoint[]