Skip to content

Commit

Permalink
Merge branch 'main' of https://ghp_k8EUbvrIwCiGEtc8baedaTNGLEY12m09TL…
Browse files Browse the repository at this point in the history
[email protected]/AngusJohnson/Clipper2.git
  • Loading branch information
AngusJohnson committed Nov 15, 2023
2 parents c3839ac + 028a2b0 commit 2c775d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DLL/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Clipper2 DLL

The Clipper2 library is written in several languages (C++, C# & Delphi Pascal) and can be compiled and linked directly into applications using any one of those languages. Now developers who use other programming languages can also access almost all of Clipper2's features using a C++ compiled dynamically linked library. And because the C++ code is significantly faster than either C# or Delphi, developers using those languages may also prefer using the DLL when performance is critical.
The Clipper2 library is written in several languages (C++, C# & Delphi Pascal) and can be compiled and statically linked into applications using those languages. Now developers using other programming languages can also access almost all of Clipper2's features by dynamically linking to a C++ compiled library. (The latest precompiled DLLs can be found in [Clipper2's Releases](https://github.com/AngusJohnson/Clipper2/releases)).

This folder contains:
1. C++ code that compiles **Clipper2** into Windows DLLs (both 32bit and 64bit).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
The <b>Clipper2</b> library performs **intersection**, **union**, **difference** and **XOR** boolean operations on both simple and complex polygons. It also performs polygon offsetting. This is a major update of my original <a href="https://sourceforge.net/projects/polyclipping/"><b>Clipper</b></a> library that was written over 10 years ago. That library I'm now calling <b>Clipper1</b>, and while it still works very well, Clipper2 is [better](http://www.angusj.com/clipper2/Docs/Changes.htm) in just about every way.

### Compilers
<b>Clipper2</b> can be compiled using either C++, or C#, or Delphi Pascal. Nevertheless, the library's performance does [differ](https://www.angusj.com/clipper2/Docs/Changes.htm) between these languages, with the C++ compiled code being noticeably faster. The library can be accessed using many other programming languages too, simply by dynamically linking to various c++ compiled and exported library functions (in a DLL file). C# and Delphi users may well do this too when performance is critical.
<b>Clipper2</b> can be compiled using either C++, or C#, or Delphi Pascal. The library can also be accessed from other programming languages by dynamically linking to exported functions in the [C++ compiled Clipper2 library](https://github.com/AngusJohnson/Clipper2/tree/main/DLL). (Since the C++ compiled code is [measurably](https://www.angusj.com/clipper2/Docs/Changes.htm) faster, C# and Delphi developers may also prefer this approach in applications where the library's performance is critical.)
| Lang. | Requirements |
| --- | --- |
| [**C++:**](https://github.com/AngusJohnson/Clipper2/tree/main/CPP) | Requires C++17 (could be modified to C++11 with relatively minor changes), **or**|
Expand Down

0 comments on commit 2c775d6

Please sign in to comment.