Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
Scott
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scott Sun
Scott
Commits
3bad45c3
Commit
3bad45c3
authored
Aug 03, 2020
by
Scott Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scott
parent
8f49bd3a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
analysis_test.js
ats/scott_test/analysis_test.js
+1
-1
No files found.
ats/scott_test/analysis_test.js
View file @
3bad45c3
...
@@ -2193,6 +2193,7 @@ function all_bga_min_pitch_anal(props){ // 分析所有bga中间距最小的
...
@@ -2193,6 +2193,7 @@ function all_bga_min_pitch_anal(props){ // 分析所有bga中间距最小的
GEN
.
deleteLayer
({
job
:
job
,
layer
:
tmp_layer2
})
GEN
.
deleteLayer
({
job
:
job
,
layer
:
tmp_layer2
})
return
res
return
res
}
}
function
bgaPitch
(
props
){
function
bgaPitch
(
props
){
var
job
=
props
.
job
var
job
=
props
.
job
var
step
=
props
.
step
var
step
=
props
.
step
...
@@ -2377,7 +2378,6 @@ function saveMeans(props){
...
@@ -2377,7 +2378,6 @@ function saveMeans(props){
fs
.
chmod
(
respath
+
"/meas"
,
777
)
fs
.
chmod
(
respath
+
"/meas"
,
777
)
}
}
// 算弧长
// 算弧长
function
arcLength
(
x1
,
y1
,
x2
,
y2
,
x3
,
y3
){
function
arcLength
(
x1
,
y1
,
x2
,
y2
,
x3
,
y3
){
var
cos0
=
+
((
x3
-
x1
)
*
(
x2
-
x3
)
+
(
y3
-
y1
)
*
(
y2
-
y3
))
/
(
Math
.
pow
((
Math
.
pow
(
x2
-
x3
,
2
)
+
Math
.
pow
(
y2
-
y3
,
2
)),
0.5
)
*
Math
.
pow
((
Math
.
pow
(
x3
-
x1
,
2
)
+
Math
.
pow
(
y3
-
y1
,
2
)),
0.5
))
var
cos0
=
+
((
x3
-
x1
)
*
(
x2
-
x3
)
+
(
y3
-
y1
)
*
(
y2
-
y3
))
/
(
Math
.
pow
((
Math
.
pow
(
x2
-
x3
,
2
)
+
Math
.
pow
(
y2
-
y3
,
2
)),
0.5
)
*
Math
.
pow
((
Math
.
pow
(
x3
-
x1
,
2
)
+
Math
.
pow
(
y3
-
y1
,
2
)),
0.5
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment