point-in-polygon-hao
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -41,3 +41,3 @@ import { orient2d } from 'robust-predicates'; | ||
if ((u2 <= 0 && u1 >= 0) || (u1 <= 0 && u2 >= 0)) { return 0 } | ||
} else if ((v2 >= 0 && v1 < 0) || (v2 < 0 && v1 >= 0)) { | ||
} else if ((v2 >= 0 && v1 <= 0) || (v2 <= 0 && v1 >= 0)) { | ||
f = orient2d(u1, u2, v1, v2, 0, 0); | ||
@@ -44,0 +44,0 @@ if (f === 0) { return 0 } |
{ | ||
"name": "point-in-polygon-hao", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "A point in polygon based on the paper Optimal Reliable Point-in-Polygon Test and Differential Coding Boolean Operations on Polygons", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
28862
9
657
0
2