Skip to content

An openFrameworks wrapper for Clipper - "an open source freeware polygon clipping library".

License

Notifications You must be signed in to change notification settings

themancalledjakob/ofxClipper

 
 

Repository files navigation

ofxClipper

Screenshot

Description

An openFrameworks wrapper for Clipper - "an open source freeware polygon clipping library".

From the author's website:

"The Clipper library primarily performs the boolean clipping operations - intersection, union, difference & xor - on 2D polygons. It also performs polygon offsetting.

The library handles complex (self-intersecting) polygons, polygons with holes and polygons with overlapping co-linear edges. Input polygons for clipping can use EvenOdd, NonZero, Positive and Negative filling modes. The clipping code is based on the Vatti clipping algorithm, and out performs other clipping libraries."

http://www.openframeworks.cc/

Installation

To use ofxClipper, first you need to download and install Open Frameworks.

To get a copy of the repository you can download the source from http://github.com/bakercp/ofxClipper or, alternatively, you can use git clone:

git clone git://github.com/bakercp/ofxClipper.git

The addon should sit in openFrameworks/addons/ofxClipper/.

Which version to use?

ofxClipper has been tested with the latest development version of openFrameworks.

#License

The Clipper license file can be found in the libs/clipper folder above.

See license.txt for wrapper details.

About

An openFrameworks wrapper for Clipper - "an open source freeware polygon clipping library".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.0%
  • Objective-C++ 9.0%