MCPcopy Create free account
hub / github.com/coronalabs/corona / RDP

Function RDP

external/smoothpolygon/SmoothPolygon.cpp:259–291  ·  view source on GitHub ↗

This implements the "Ramer–Douglas–Peucker" algorithm for reducing the number of points in a curve that is approximated by a series of points. See: http://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MakeSmoothPolygonFunction · 0.85

Calls 6

sizeMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected