Ramer-Douglas-Peucker line simplification: Difference between revisions
Ramer-Douglas-Peucker line simplification (view source)
Revision as of 08:43, 19 February 2021
, 3 years ago→{{header|11l}}
m (→{{header|REXX}}: added a return code of zero to main program.) |
Alextretyak (talk | contribs) m (→{{header|11l}}) |
||
Line 22:
{{trans|Go}}
<lang 11l>F rdp(l,
V x = 0
V dMax = -1.0
Line 35:
dMax = d
I dMax >
R rdp(l[0..x],
R [l[0], l.last]
|