martinez-polygon-clipping

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

test

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

ts

tsc index.d.ts

bench

node --require reify bench.js

lint

eslint ./src/

watch

rollup -c -w

serve

http-server -p 3000

start

run-p watch serve

build

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

min

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

prepublishOnly

npm run lint && npm run test && npm run build
npm i martinez-polygon-clipping

Metadata

  • MIT
  • Whatever
  • Alex Milevski
  • released 7/26/2024

Downloads

Maintainers