Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
M
multiTraj
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
wangdawei
multiTraj
Commits
a3a594e7
Commit
a3a594e7
authored
Feb 10, 2023
by
limingbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change filter by position stratgy and add startTime and endTime
parent
046e5fb8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
multi_traj_functions.cpp
apps/function/multi_traj_functions.cpp
+11
-0
No files found.
apps/function/multi_traj_functions.cpp
View file @
a3a594e7
...
...
@@ -275,6 +275,14 @@ void filterByPosition(
}
}
}
if
(
inPeriod
){
if
(
end
-
start
>
1
){
timePeriods
.
push_back
(
make_pair
(
start
,
end
));
for
(
auto
p
:
filterdPeriod
){
octree
.
addPointToCloud
(
p
,
totalPeriodCloud
);
}
}
}
}
if
(
timePeriods
.
size
()){
auto
finalOneRet
=
oneRet
;
...
...
@@ -458,6 +466,9 @@ vector<CloseTrajInfo> crossFilter(
}
if
(
inPeriod
){
timePeriods
.
push_back
(
make_pair
(
start
,
currTime
));
for
(
auto
p
:
filterdPeriod
){
taskOctree
.
addPointToCloud
(
p
,
taskPeriodCloud
);
}
}
if
(
found
){
oneRet
.
index
=
pcIndex
;
...
...
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