Home | ClipperLib |
CleanPolygons
Del.» function CleanPolygons(const Polys: TPolygons; Distance: double = 1.415): TPolygons;
C++ » void CleanPolygons(Polygons &in_polys, Polygon &out_polys, double distance = 1.415);
C# » public static Polygons CleanPolygons(Polygons polys, double distance = 1.415);
This function removes vertices that are within the specified 'distance' from their preceeding vertices. The default distance is approx SQRT(2) so that adjacent vertices having their corresponding X and Y coordinates within 1 unit of each other will precipitate the removal of the second vertex.
Copyright ©2010-2012 Angus Johnson - Clipper version 5.1.0 - Help file built on 17-February-2013