Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Özgür Ozan Sen
ogs
Commits
bcd896dc
Commit
bcd896dc
authored
10 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[TetGenInterface] Made two methods const.
parent
96947433
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
FileIO/TetGenInterface.cpp
+2
-2
2 additions, 2 deletions
FileIO/TetGenInterface.cpp
FileIO/TetGenInterface.h
+1
-1
1 addition, 1 deletion
FileIO/TetGenInterface.h
with
3 additions
and
3 deletions
FileIO/TetGenInterface.cpp
+
2
−
2
View file @
bcd896dc
...
...
@@ -112,7 +112,7 @@ std::size_t TetGenInterface::getNFacets(std::ifstream &input) const
bool
TetGenInterface
::
parseFacets
(
std
::
ifstream
&
input
,
std
::
vector
<
GeoLib
::
Surface
*>
&
surfaces
,
std
::
vector
<
GeoLib
::
Point
*>
&
points
)
std
::
vector
<
GeoLib
::
Point
*>
&
points
)
const
{
const
std
::
size_t
nFacets
(
this
->
getNFacets
(
input
));
std
::
size_t
nMultPolys
(
0
);
...
...
@@ -361,7 +361,7 @@ bool TetGenInterface::parseNodes(std::ifstream &ins,
bool
TetGenInterface
::
readElementsFromStream
(
std
::
ifstream
&
ins
,
std
::
vector
<
MeshLib
::
Element
*>
&
elements
,
const
std
::
vector
<
MeshLib
::
Node
*>
&
nodes
)
const
std
::
vector
<
MeshLib
::
Node
*>
&
nodes
)
const
{
std
::
string
line
;
getline
(
ins
,
line
);
...
...
This diff is collapsed.
Click to expand it.
FileIO/TetGenInterface.h
+
1
−
1
View file @
bcd896dc
...
...
@@ -84,7 +84,7 @@ private:
*/
bool
parseFacets
(
std
::
ifstream
&
input
,
std
::
vector
<
GeoLib
::
Surface
*>
&
surfaces
,
std
::
vector
<
GeoLib
::
Point
*>
&
points
);
std
::
vector
<
GeoLib
::
Point
*>
&
points
)
const
;
/**
* Method reads the nodes from stream and stores them in a node vector.
...
...
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