clipper-lib-fpoint
v6.4.2
Published
Boolean operations and offsetting library in Javascript
Downloads
24
Readme
ClipperLib
I had to do another fork from junmers repository to release a version with fpoint to npm.
forked from Javascript Clipper (FPoint project)
Description
The Javascript 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.
Javascript Clipper is a port of Angus Johnson's Clipper library: https://sourceforge.net/projects/polyclipping/
LIVE DEMO: http://jsclipper.sourceforge.net/6.4.2.2_fpoint/main_demo.html
Information and examples: http://jsclipper.sourceforge.net/6.4.2.2_fpoint
Donate Javascript Clipper Project: https://sourceforge.net/p/jsclipper/wiki/Donations/
Use cases:
- Over 1500 schools in the UK uses Javascript Clipper in Digimap for Schools service. Digimap for Schools is an online mapping service for use by teachers and pupils. Read more: https://mobilegeo.wordpress.com/ and http://digimapforschools.edina.ac.uk/cosmo-free/osmapper
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 Javascript
- Comprehensive documentation
- Demos use inline SVG and Canvas libraries
- The library is significantly faster than commercial alternatives
Categories
Algorithms, Graphics