@eturnity/eturnity_maths
Advanced tools
Comparing version 1.0.11-EPDM-7264 to 1.0.11-qa-6.27.0-0
{ | ||
"name": "@eturnity/eturnity_maths", | ||
"version": "1.0.11-EPDM-7264", | ||
"version": "1.0.11-qa-6.27.0-0", | ||
"author": "Eturnity Team", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -304,2 +304,11 @@ import { | ||
export function polygonsHaveSame3DOutline(outline1, outline2) { | ||
let sameLength = outline1.length == outline2.length | ||
return ( | ||
sameLength && | ||
outline1.every((p) => outline2.find((v) => v.x == p.x && v.y == p.y)) && | ||
outline2.every((p) => outline1.find((v) => v.x == p.x && v.y == p.y)) | ||
) | ||
} | ||
export function isOnBorderOfPolygon(point, vs) { | ||
@@ -306,0 +315,0 @@ let inside = false |
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
96025
2996