Ramer-Douglas-Peucker line simplification: Difference between revisions
Content added Content deleted
Walterpachl (talk | contribs) m (→{{header|ooRexx}}=: fix header) |
Walterpachl (talk | contribs) m (→{{header|ooRexx}}: fix header again) |
||
Line 1,066: | Line 1,066: | ||
<pre>@[(x: 0.0, y: 0.0), (x: 2.0, y: -0.1), (x: 3.0, y: 5.0), (x: 7.0, y: 9.0), (x: 9.0, y: 9.0)]</pre> |
<pre>@[(x: 0.0, y: 0.0), (x: 2.0, y: -0.1), (x: 3.0, y: 5.0), (x: 7.0, y: 9.0), (x: 9.0, y: 9.0)]</pre> |
||
={{header|ooRexx}}= |
=={{header|ooRexx}}== |
||
<syntaxhighlight lang="oorexx"> |
<syntaxhighlight lang="oorexx"> |
||
/*REXX program uses the Ramer-Douglas-Peucker (RDP) line simplification algorithm for*/ |
/*REXX program uses the Ramer-Douglas-Peucker (RDP) line simplification algorithm for*/ |