2d-polygon-self-intersections
Advanced tools
Comparing version 1.2.2 to 1.3.1
var isect = require('exact-segment-intersect'); | ||
var float = require('robust-estimate-float'); | ||
var hasIsect = require('robust-segment-intersect'); | ||
@@ -47,6 +46,2 @@ module.exports = selfIntersections; | ||
if (!hasIsect(oc, on, pc, pn)) { | ||
continue; | ||
} | ||
var r = isect(oc, on, pc, pn); | ||
@@ -53,0 +48,0 @@ // since these are homogeneous vectors, if the last component `w` is 0 |
@@ -7,9 +7,8 @@ { | ||
"dependencies": { | ||
"exact-segment-intersect": "^1.0.0", | ||
"robust-estimate-float": "^1.0.0", | ||
"robust-segment-intersect": "^1.0.1" | ||
"exact-segment-intersect": "^2.0.0", | ||
"robust-estimate-float": "^1.0.0" | ||
}, | ||
"name": "2d-polygon-self-intersections", | ||
"description": "This library may not be fast, but it is robust. Robust in the fact that it will find all of the self-intersections in a polygon - minus of course shared endpoints.", | ||
"version": "1.2.2", | ||
"version": "1.3.1", | ||
"main": "intersections.js", | ||
@@ -16,0 +15,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
8982
207
+ Addedexact-segment-intersect@2.0.0(transitive)
- Removedrobust-segment-intersect@^1.0.1
- Removedexact-segment-intersect@1.0.0(transitive)