martinez-polygon-clipping

v0.7.2
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

ts

tsc index.d.ts

min

uglifyjs ./dist/martinez.umd.js -o ./dist/martinez.min.js -m --comments

lint

eslint ./src/

test

tape -r reify buble/register test/*.test.js | tap-spec && npm run ts

bench

node --require reify bench.js

build

npm run lint && rollup -c && npm run min

serve

http-server -p 3000

start

run-p watch serve

watch

rollup -c -w

prepublishOnly

npm run lint && npm run test && npm run build

Metadata

  • MIT
  • Whatever
  • Alex Milevski
  • released 3/2/2022

Downloads

Maintainers