Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
谢明辉
/
VVAS-JNI
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit eca18a6b
authored
May 20, 2021
by
翟柏林
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加坐标异常参数的处理
1 parent
f31cf3a0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/main/java/com/viontech/keliu/controller/MainController.java
src/main/java/com/viontech/keliu/controller/MainController.java
View file @
eca18a6
...
@@ -22,6 +22,9 @@ public class MainController {
...
@@ -22,6 +22,9 @@ public class MainController {
@PostMapping
(
"/heatMapTransAxis"
)
@PostMapping
(
"/heatMapTransAxis"
)
public
Point
heatMapTransAxis
(
@RequestBody
HeatMapRequestEntity
entity
)
{
public
Point
heatMapTransAxis
(
@RequestBody
HeatMapRequestEntity
entity
)
{
if
(
entity
.
getCameraPoints
().
length
!=
entity
.
getMapPoints
().
length
){
return
entity
.
getInputPoint
();
}
return
HeatMapUtil
.
transAxis
(
entity
.
getCameraType
(),
entity
.
getCenterPoint
(),
entity
.
getMarginPoint
(),
entity
.
getCameraPoints
(),
entity
.
getMapPoints
(),
entity
.
getInputPoint
());
return
HeatMapUtil
.
transAxis
(
entity
.
getCameraType
(),
entity
.
getCenterPoint
(),
entity
.
getMarginPoint
(),
entity
.
getCameraPoints
(),
entity
.
getMapPoints
(),
entity
.
getInputPoint
());
}
}
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment