Clipper2 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Clipper2 --version 1.0.4                
NuGet\Install-Package Clipper2 -Version 1.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Clipper2" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Clipper2 --version 1.0.4                
#r "nuget: Clipper2, 1.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Clipper2 as a Cake Addin
#addin nuget:?package=Clipper2&version=1.0.4

// Install Clipper2 as a Cake Tool
#tool nuget:?package=Clipper2&version=1.0.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

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Clipper2:

Package Downloads
PdfOcr

Pdf OCR library based on paddle OCR

DaveGreen.ShapeEngine

My custom made 2d game engine based on the great Raylib Framework. Main focus is being performant and only using draw functions instead of textures. Custom input, audio, savegame, collision, shape, pathfinding, ui, camera, color palette, polygon fracturing, and text system are available with a few other nice things!

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Clipper2:

Repository Stars
DaveGreen-Games/ShapeEngine
My custom made engine based on the great Raylib Framework. Main focus is being performant and only using draw functions instead of textures.
Version Downloads Last updated
1.4.0 52 7/13/2024
1.3.0 46,455 11/28/2023
1.2.4 753 11/26/2023
1.2.3 31,275 10/1/2023
1.2.2 59,194 3/26/2023
1.2.0 12,473 2/26/2023
1.1.1 15,024 1/27/2023
1.1.0 1,830 1/26/2023
1.0.5 84,765 10/2/2022
1.0.4 506 9/16/2022
1.0.0 1,766 9/5/2022

This is a major update of my original Clipper library, first released over 10yrs ago.