New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eturnity/eturnity_maths

Package Overview
Dependencies
Maintainers
5
Versions
430
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 6.34.3-3d-qa-6.37.0.0 to 6.34.3-3d-qa-6.37.0.1

2

package.json
{
"name": "@eturnity/eturnity_maths",
"version": "6.34.3-3d-qa-6.37.0.0",
"version": "6.34.3-3d-qa-6.37.0.1",
"author": "Eturnity Team",

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

@@ -11,3 +11,4 @@ import {

isClockWise,
calculateArea
calculateArea,
getConcaveOutline
} from '../../geometry'

@@ -77,3 +78,14 @@ import { maximumGapLimit } from '../../config'

polygon=updateMarginOutlinePolygon(polygon)
if(polygon.layer=="moduleField"){
let trimedOutline=[]
if(polygon.panels.length>0){
trimedOutline = getConcaveOutline(polygon.panels,polygon.panels[0].outline)
trimedOutline = trimedOutline.map(p=>{return{
x:p.x,
y:p.y,
z:verticalProjectionOnPlane(p,polygon.roof.normalVector,polygon.roof.flatOutline[0]).z
}})
}
polygon.trimedOutline = trimedOutline
}
return polygon

@@ -80,0 +92,0 @@ }

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