The Clipper library performs clipping and offsetting for both lines and polygons. All four boolean clipping operations are supported - intersection, union, difference and exclusive-or. Polygons can be of any shape including self-intersecting polygons.

26 Feb 2020:
Since it's been some time since the last update, some may be wondering if I no longer plan further updates. I do have an update in the works (see the sandbox folder under 'Code' above) but I also have not life threatening health problems that slow me down. Anyhow I do hope to get Clipper2 released sometime this year.

Features

  • Line and polygon clipping - intersection, union, difference & xor
  • Line and polygon offsetting with 3 types of joining - miter, square and round
  • Polygons can be of any shape, including self-intersecting polygons
  • Minkowski Addition and Minkowski Difference functions included
  • The library is written in Delphi, C++, C# and Python
  • Comprehensive documentation
  • Demos use AGG, Cairo, OpenGL, GDI+ & Graphics32 graphics libraries
  • The library is significantly faster than commercial alternatives
  • Third-party modules for Perl, Ruby and Python languages

Project Samples

Project Activity

See All Activity >

Categories

Algorithms

Follow Clipper

Clipper Web Site

Other Useful Business Software

Advertisement Get Your Free Active Directory Health Check Icon
Get Your Free Active Directory Health Check

With Server & Application Monitor, you can pinpoint replication failures within active directory!

Server and Application Monitor helps you discover application dependencies to help identify relationships between application servers. Drill into those connections to view the associated network performance such as latency and packet loss, and application process resource utilization metrics such as CPU and memory usage. Determine if process utilization or network performance is affecting the application and end-user performance.

Rate This Project

Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
34
1
0
0
1
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5

User Reviews

  • Great!

  • Awesome it does work with intersected polygons.

    2 users found this review helpful.
  • I've been using the library for years now and been happy with it ever. I've not filled in the support rating, haven't needed support. I'm happy with the (beta) 2.0 variant and will try find out whether it is thread-safe, perhaps helping a bit in that area if needed. EDIT: In the mean time I found out I can use it in a multitrheaded way, which really helps. What I'm not yet able to do, is to predict (approx) how long clipping will take as a function of the number of (sub)polygons and vertices. I have some really large use-cases where the runtimes surprise me, in both directions.

    3 users found this review helpful.
  • The greatest lib for polygon operations

  • Great library

Read more reviews >

Additional Project Details

Intended Audience

Developers

Programming Language

C#, Python, C++, Delphi/Kylix, Free Pascal

Registered

2010-05-19