Clipper2 1.4.0

dotnet add package Clipper2 --version 1.4.0                
NuGet\Install-Package Clipper2 -Version 1.4.0                
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.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Clipper2 --version 1.4.0                
#r "nuget: Clipper2, 1.4.0"                
#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.4.0

// Install Clipper2 as a Cake Tool
#tool nuget:?package=Clipper2&version=1.4.0                

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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Clipper2:

Package Downloads
YoloV8

Use YOLOv8 in real-time for object detection, instance segmentation, pose estimation and image classification, via ONNX Runtime

YoloV8.Gpu

Use YOLOv8 in real-time for object detection, instance segmentation, pose estimation and image classification, via ONNX Runtime

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!

YoloSharp

Use YOLO11 in real-time for object detection tasks, with edge performance, powered by ONNX-Runtime.

GitHub repositories (2)

Showing the top 2 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.
dme-compunet/YoloSharp
🚀 Use YOLO11 in real-time for object detection tasks, with edge performance ⚡️ powered by ONNX-Runtime.
Version Downloads Last updated
1.4.0 39,984 7/13/2024
1.3.0 80,813 11/28/2023
1.2.4 814 11/26/2023
1.2.3 49,365 10/1/2023
1.2.2 81,720 3/26/2023
1.2.0 12,949 2/26/2023
1.1.1 18,685 1/27/2023
1.1.0 2,011 1/26/2023
1.0.5 87,708 10/2/2022
1.0.4 552 9/16/2022
1.0.0 1,933 9/5/2022

1. Fixed a significant offsetting bug introduced in previous update (#733)
 2. Fixed a C++ compile error when 32bit compiling (#727)
 3. Minor tweak to CMakeLists.txt (C++) (#728)
 4. Will now offset 'flat' polygons (Disc.#725)
 5. Reminder: recent change in open path offsetting behaviour (#707)
 6. Reminder: recent changes to clipper.export.h data structures.