Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
JPScore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JuPedSim
JPScore
Merge requests
!43
Resolve "Show statistics of crossings"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Show statistics of crossings"
293-statistics-crossings
into
develop
Overview
3
Commits
5
Pipelines
1
Changes
10
Merged
Mohcine Chraibi
requested to merge
293-statistics-crossings
into
develop
6 years ago
Overview
3
Commits
5
Pipelines
1
Changes
10
Expand
Closes
#293 (closed)
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
45c60551
5 commits,
6 years ago
10 files
+
95
−
55
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
geometry/Building.cpp
+
10
−
0
Options
@@ -1302,6 +1302,16 @@ Transition* Building::GetTransitionByUID(int uid) const
return
nullptr
;
}
Crossing
*
Building
::
GetCrossingByUID
(
int
uid
)
const
{
for
(
auto
&&
cross
:
_crossings
)
{
if
(
cross
.
second
->
GetUniqueID
()
==
uid
)
return
cross
.
second
;
}
return
nullptr
;
}
bool
Building
::
SaveGeometry
(
const
std
::
string
&
filename
)
const
{
std
::
stringstream
geometry
;
Loading