martinez-polygon-clipping

v0.2.0
Martinez polygon clipping algorithm, does boolean operation on polygons (multipolygons, polygons with holes etc): intersection, union, difference, xor
polygon clipping boolean intersection union xor geometry martinez

lint

eslint ./src/

test

tap test/*.test.js -R spec

build

browserify -s martinez ./index.js -o ./dist/martinez.js

start

watchify ./demo/js/index.js -o ./demo/js/bundle.js -dv & http-server -p 3000

start:win

start watchify ./demo/js/index.js -o ./demo/js/bundle.js -dv && start serve

test:watch

nodemon --exec 'npm run test && npm run lint'

Metadata

  • MIT
  • Whatever
  • Alex Milevski
  • released 5/28/2017

Downloads

Maintainers