Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RBComb Sample Visualizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Pascal Engeler
RBComb Sample Visualizer
Commits
ed3160bf
Commit
ed3160bf
authored
1 year ago
by
Pascal Engeler
Browse files
Options
Downloads
Patches
Plain Diff
Top layer generation
parent
7ecbebdb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
data_generation/cpp/main.cpp
+2
-2
2 additions, 2 deletions
data_generation/cpp/main.cpp
with
2 additions
and
2 deletions
data_generation/cpp/main.cpp
+
2
−
2
View file @
ed3160bf
...
...
@@ -10,7 +10,7 @@ int main(){
linestrips
.
reserve
(
273050
);
//this is the amount of linestrips expected
std
::
string
filepath
=
"../python/line_strips_
fixedarcs
.txt"
;
std
::
string
filepath
=
"../python/line_strips_
top
.txt"
;
std
::
ifstream
ifs
(
filepath
);
if
(
!
ifs
){
...
...
@@ -118,7 +118,7 @@ int main(){
}
std
::
cout
<<
"Writing "
<<
num_polygons
<<
" polygons to file"
<<
std
::
endl
;
std
::
fstream
outfile
(
"../python/polygons_fixedarcs.txt"
,
std
::
ios
::
out
);
std
::
fstream
outfile
(
"../python/polygons_fixedarcs
_top
.txt"
,
std
::
ios
::
out
);
outfile
.
write
(
resultString
.
c_str
(),
resultString
.
size
());
outfile
.
close
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment