Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eturnity/eturnity_maths

Package Overview
Dependencies
Maintainers
0
Versions
427
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eturnity/eturnity_maths - npm Package Compare versions

Comparing version 7.42.2-EPDM-12619.2 to 7.42.2-EPDM-12619.3

2

package.json
{
"name": "@eturnity/eturnity_maths",
"version": "7.42.2-EPDM-12619.2",
"version": "7.42.2-EPDM-12619.3",
"author": "Eturnity Team",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -18,3 +18,16 @@ import { mmTolerance, polygonCloseTolerance } from './config'

import { isSelfIntersecting } from './intersectionPolygon'
export function get3DPolylineLength(outline) {
return outline.reduce((acc, cur, i) => {
return (
acc + get3DDistanceBetweenPoints(cur, outline[(i + 1) % outline.length])
)
}, 0)
}
export function getPolylineLength(outline) {
return outline.reduce((acc, cur, i) => {
return (
acc + getDistanceBetweenPoints(cur, outline[(i + 1) % outline.length])
)
}, 0)
}
export function getConcaveOutlines(selectedPanels, onePanelOutline) {

@@ -21,0 +34,0 @@ let buckets = groupAdjacentObjects(selectedPanels)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc