clipper2
brew install clipper2
v2.0.1
BSL-1.0
Polygon clipping and offsetting library
23
30-day installs · #6441
40
90-day · #7933
189
365-day · #7491
2.4k
★ GitHub stars · updated 4mo ago
Build dependencies
GitHub topics
algorithm
boolean-operations
clipping
clipping-algorithm
cpp
csharp
delphi
geometry
inflate
offsetting
pascal
polygon
polygon-boolean
polygon-clipping
polygon-clipping-algorithm
polygon-intersection
polygon-union
Links
- https://github.com/AngusJohnson/Clipper2
- GitHub: AngusJohnson/Clipper2
- Brew formula source: Formula/c/clipper2.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"cmake"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Polygon clipping and offsetting library",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:27+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "clipper2",
"github_default_branch": "main",
"github_last_commit_at": "2026-04-20T01:18:06Z",
"github_readme_excerpt": "# Clipper2\n\n### A Polygon \u003ca href=\"https://en.wikipedia.org/wiki/Clipping_(computer_graphics)\"\u003eClipping\u003c/a\u003e, \u003ca href=\"https://en.wikipedia.org/wiki/Parallel_curve\"\u003eOffsetting\u003c/a\u003e and \u003ca href=\"https://en.wikipedia.org/wiki/Constrained_Delaunay_triangulation\"\u003eTriangulation\u003c/a\u003e library (in C++, C# \u0026amp; Delphi)\u003cbr\u003e\n[](https://github.com/AngusJohnson/Clipper2/actions/workflows/actions_cpp.yml)\u0026nbsp;[](https://github.com/AngusJohnson/Clipper2/actions/workflows/actions_csharp.yml)\u0026nbsp;[](https://www.boost.org/LICENSE_1_0.txt)\n[](https://www.nuget.org/packages/Clipper2)\n[](https://www.angusj.com/clipper2/Docs/Overview.htm)\n\nThe \u003cb\u003eClipper2\u003c/b\u003e library performs **intersection**, **union**, **difference** and **XOR** boolean operations on both simple and complex polygons. It also performs **polygon offsetting**, and **Constrained Delaunay Triangulation**. This is a major update of my original \u003ca href=\"https://sourceforge.net/projects/polyclipping/\"\u003e\u003cb\u003eClipper\u003c/b\u003e\u003c/a\u003e library that was written about 15 years ago. That library I\u0027m now calling \u003cb\u003eClipper1\u003c/b\u003e, and while it still works very well, Clipper2 is just [better](https://www.angusj.com/clipper2/Docs/Changes.htm).\n\n```diff\n- CAUTION: The triangulation code is buggy and I regret releasing it when I did.\n- I\u0027m working on fixes but these may still be weeks away. Sorry.\n```\n\n### Compilers\n\u003cb\u003eClipper2\u003c/b\u003e can be compiled using any one of three supported programming languages: C++, or C#, or Delphi Pascal. The library can also be accessed from other languages by dynamically li",
"github_repo": "AngusJohnson/Clipper2",
"github_stars": 2372,
"github_topics": [
"algorithm",
"boolean-operations",
"clipping",
"clipping-algorithm",
"cpp",
"csharp",
"delphi",
"geometry",
"inflate",
"offsetting",
"pascal",
"polygon",
"polygon-boolean",
"polygon-clipping",
"polygon-clipping-algorithm",
"polygon-intersection",
"polygon-union"
],
"homepage": "https://github.com/AngusJohnson/Clipper2",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 23,
"installs_365d": 189,
"installs_90d": 40,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "BSL-1.0",
"llm_generated_at": null,
"llm_model": null,
"name": "clipper2",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 6441,
"rank_365d": 7491,
"rank_90d": 7933,
"raw_hash": "c1d41e95cd20feb5",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/clipper2.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "2.0.1",
"versioned_formulae": [],
"why_use_this": null
}