Clipper2 1.5.4

Clipper2

A Polygon Clipping and Offsetting library (in C++, C# & Delphi)

License documentation

Clipper2 is a major update of my original Clipper library which I'm now calling Clipper1. Clipper1 was written over 10 years ago and still works very well, but Clipper2 is better in just about every way.

Example

  Paths64 subj = new Paths64();
  Paths64 clip = new Paths64();
  subj.Add(Clipper.MakePath(new int[] { 100, 50, 10, 79, 65, 2, 65, 98, 10, 21 }));
  clip.Add(Clipper.MakePath(new int[] { 98, 63, 4, 68, 77, 8, 52, 100, 19, 12 }));
  Paths64 solution = Clipper.Intersect(subj, clip, FillRule.NonZero);
  

clipperB

No packages depend on Clipper2.

This release fixes a bug that very occasionally caused an endless loop (see GitHub issues #735 & #979)

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
2.0.0 0 12/17/2025
1.5.4 0 07/16/2026
1.5.3 0 05/11/2025
1.4.0 0 07/13/2024
1.3.0 0 07/16/2026
1.2.4 0 11/26/2023
1.2.3 0 10/01/2023
1.2.2 0 07/16/2026
1.2.0 0 02/26/2023
1.1.1 0 01/27/2023
1.1.0 0 01/26/2023
1.0.5 0 10/02/2022
1.0.4 0 09/16/2022
1.0.0 0 09/05/2022