Home |
The Clipper Library performs clipping, and offsetting of both lines and polygons.
Note: This library has been superseded by my new Clipper2 polygon clipping library.
A number of features set Clipper apart from other clipping libraries:
Clipper1: 6.4.2 (obsolete - see note above re Clipper2)
Author & copyright:
Angus Johnson. Copyright © 2010-2022
License, terms and conditions: Boost Software License
Terminology:
Distribution package contents:
The ZIP package contains the Clipper library's source code, a Windows CHM help file, HTML help, and a number of compiled demo applications (with full source code). The library was initially written in Delphi Pascal and compiles in all versions of Delphi including and above version 7. However, the library now contains C++, C# ports (translations) too. The source code in each language is about 5000 lines. The Delphi code contains reasonably extensive comments, but comments are fewer in the other languages.
Download Link:
GitHub
References:
The Library is based on but significantly extends Bala Vatti's polygon clipping algorithm as described in "A generic solution to polygon clipping", Communications of the ACM, Vol 35, Issue 7 (July 1992) pp 56-63.
A section in "Computer graphics and geometric modeling: implementation and algorithms" by By Max K. Agoston (Springer, 2005) discussing Vatti Polygon Clipping was also helpful in creating the initial Clipper implementation.
The paper titled "Polygon Offsetting by Computing Winding Numbers" by Chen & McMains (Paper no. DETC2005-85513, ASME 2005. Pages 565-575) contains helpful discussion on the complexities of polygon offsetting together with some solutions.
Home, License, Clipper, ClipperOffset, ClipType, PolyFillType
Copyright ©2010-2022 Angus Johnson - Clipper2 6.4.2 - Help file built on 31-August-2022