[Metalab] [intern] approximating arbitary shapes with segments

Marius Kintel marius at kintel.net
Mon Nov 3 19:58:38 CET 2014


On Nov 3, 2014, at 20:33 PM, Amir Hassan <amir at viel-zu.org> wrote:

> i'm looking for a method to approximate arbitrary vector graphic shapes (circles, rects, bezier curves, etc.) with line segments.
> 
See ClipperLib (http://www.angusj.com/delphi/clipper/documentation/Docs/Units/ClipperLib/Functions/CleanPolygon.htm) for a Ramer-Douglas-Peuker-esque algorithm implementation.

 -Marius





More information about the Metalab mailing list