clipper2
« Back to VersTracker
Description:
Polygon clipping and offsetting library
Type: Formula  |  Latest Version: 1.5.4@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: geometry polygon clipping graphics cad gis
Install: brew install clipper2
About:
Clipper2 is a high-performance polygon clipping and offsetting library that supports boolean operations (union, intersection, difference, xor) and polygon offsetting (buffering). It is robust, handling complex self-intersecting polygons and floating-point coordinates without precision issues. The library is implemented in multiple languages including C++, C#, Delphi, and Python, making it highly portable for various development environments.
Key Features:
  • Supports all boolean operations (union, intersection, difference, xor)
  • Robust handling of floating-point coordinates and self-intersecting polygons
  • Fast polygon offsetting (inflation/deflation)
  • Multi-language support (C++, C#, Python, Delphi, JavaScript)
  • Open source with permissive license
Use Cases:
  • GIS applications for geographic data processing
  • CAD/CAM software for shape manipulation
  • Computer graphics for rendering complex polygons
  • Robotics and pathfinding for collision detection
Alternatives:
  • CGAL – More comprehensive but heavier and GPL licensed
  • Boost.Geometry – Part of Boost ecosystem, C++ only, similar performance
  • libgd – General graphics library, less specialized for polygon operations
Version History
Detected Version Rev Change Commit
Sep 11, 2025 6:20am 0 VERSION_BUMP 92a7770f