UNPKG

clean-pslg

Version:

Remove self intersections, t-junctions and duplicate edges/vertices from a planar straight line graph

65 lines (64 loc) 1.37 kB
{ "name": "clean-pslg", "version": "1.1.2", "description": "Remove self intersections, t-junctions and duplicate edges/vertices from a planar straight line graph", "main": "clean-pslg.js", "directories": { "example": "example", "test": "test" }, "dependencies": { "big-rat": "^1.0.3", "box-intersect": "^1.0.1", "nextafter": "^1.0.0", "rat-vec": "^1.1.1", "robust-segment-intersect": "^1.0.1", "union-find": "^1.0.2", "uniq": "^1.0.1" }, "devDependencies": { "mouse-change": "^1.2.1", "canvas-fit": "^1.4.0", "robust-orientation": "^1.1.3", "tape": "^4.0.0", "segment2": "^0.3.2", "vec2": "^1.6.0" }, "scripts": { "test": "tape test/*.js" }, "repository": { "type": "git", "url": "https://github.com/mikolalysenko/clean-pslg.git" }, "keywords": [ "planar", "straight", "line", "graph", "geometry", "topology", "polygon", "snap", "rounding", "tjunction", "crossing", "junction", "duplicate", "vertex", "edge", "point", "cell", "complex", "repair", "clean", "self", "intersection" ], "author": "Mikola Lysenko", "license": "MIT", "bugs": { "url": "https://github.com/mikolalysenko/clean-pslg/issues" }, "homepage": "https://github.com/mikolalysenko/clean-pslg" }