Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.6 KB

README.md

File metadata and controls

43 lines (25 loc) · 1.6 KB

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.