• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Polyline simplification using Douglas-Peucker algorithm

Scheduled Pinned Locked Moved Developers' Forum
1 Posts 1 Posters 529 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    thomthom
    last edited by 11 Jun 2009, 07:54

    I came cross this:
    http://www.simdesign.nl/Components/DouglasPeucker.html

    Looks to be source code to the algorithm. Would be interesting to port this to Ruby. As far as I know, the current simplify plugins either removes points at certain intervals or only compares the angle between two edges. This one seem to take the whole shape into account.

    Thomas Thomassen — SketchUp Monkey & Coding addict
    List of my plugins and link to the CookieWare fund

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      Last post
    Buy SketchPlus
    Buy SUbD
    Buy WrapR
    Buy eBook
    Buy Modelur
    Buy Vertex Tools
    Buy SketchCuisine
    Buy FormFonts

    Advertisement