Skip to content

v6.0.0 (30 October 2013)

Compare
Choose a tag to compare
@CodeFinder2 CodeFinder2 released this 05 May 10:08
· 8 commits to master since this release

Changelog:

  • Added: Open path (polyline) clipping. A new 'Curves' demo
    application showcases this (see the 'Curves' directory).
  • Update: Major improvement in the merging of
    shared/collinear edges in clip solutions (see Execute).
  • Added: The IntPoint structure now has an optional 'Z' member.
    (See the precompiler directive use_xyz.)
  • Added: Users can now force Clipper to use 32bit integers
    (via the precompiler directive use_int32) instead of using
    64bit integers.
  • Modified: To accommodate open paths, the Polygon and Polygons
    structures have been renamed Path and Paths respectively. The
    AddPolygon and AddPolygons methods of the ClipperBase class
    have been renamed AddPath and AddPaths respectively. Several
    other functions have been similarly renamed.
  • Modified: The PolyNode Class has a new IsOpen property.
  • Modified: The Clipper class has a new ZFillFunction property.
  • Added: MinkowskiSum and MinkowskiDiff functions added.
  • Added: Several other new functions have been added including
    PolyTreeToPaths, OpenPathsFromPolyTree and ClosedPathsFromPolyTree.
  • Added: The Clipper constructor now accepts an optional InitOptions
    parameter to simplify setting properties.
  • Bugfixes: Numerous minor bugs have been fixed.
  • Deprecated: Version 6 is a major upgrade from previous versions
    and quite a number of changes have been made to exposed structures
    and functions. To minimize inconvenience to existing library users,
    some code has been retained and some added to maintain backward
    compatibility. However, because this code will be removed in a
    future update, it has been marked as deprecated and a precompiler
    directive use_deprecated has been defined.