Ramer-Douglas-Peucker line simplification: Difference between revisions

Content added Content deleted
(→‎{{header|REXX}}: add Version 2)
m (→‎{{header|REXX}}: fix tags)
Line 1,570: Line 1,570:
</pre>
</pre>
===Version 2===
===Version 2===
{{trans|ooRexx}}
</syntaxhighlight>
<syntaxhighlight lang="rexx">
<syntaxhighlight lang="rexx">
/*REXX program uses the Ramer-Douglas-Peucker (RDP) line simplification algorithm for*/
/*REXX program uses the Ramer-Douglas-Peucker (RDP) line simplification algorithm for*/
Line 1,643: Line 1,643:
Numeric Digits prec
Numeric Digits prec
r=r+0
r=r+0
Return r
Return r
</syntaxhighlight>
{{out|output|text=&nbsp; when using the default inputs:}}
{{out|output|text=&nbsp; when using the default inputs:}}
<pre>
<pre>