Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Pitiot
CGoGN
Commits
b263ad7f
Commit
b263ad7f
authored
Feb 07, 2012
by
Pierre Kraemer
Browse files
delete multiple definitions of MR functions
parent
d4159fab
Changes
1
Show whitespace changes
Inline
Side-by-side
include/Topology/generic/genericmap.hpp
View file @
b263ad7f
...
...
@@ -297,42 +297,4 @@ inline AttributeMultiVector<Dart>* GenericMap::getRelation(const std::string& na
return
amv
;
}
/******************************************
* TOPOLOGICAL MULTIRESOLUTION MANAGEMENT*
******************************************/
inline
unsigned
int
GenericMap
::
getCurrentLevel
()
{
return
m_mrCurrentLevel
;
}
inline
void
GenericMap
::
setCurrentLevel
(
unsigned
int
l
)
{
if
(
l
<
m_mrDarts
.
size
())
m_mrCurrentLevel
=
l
;
else
CGoGNout
<<
"try to access inexisting resolution level"
<<
CGoGNendl
;
}
inline
void
GenericMap
::
pushLevel
()
{
m_mrLevelStack
.
push_back
(
m_mrCurrentLevel
)
;
}
inline
void
GenericMap
::
popLevel
()
{
m_mrCurrentLevel
=
m_mrLevelStack
.
back
()
;
m_mrLevelStack
.
pop_back
()
;
}
inline
unsigned
int
GenericMap
::
getMaxLevel
()
{
return
m_mrDarts
.
size
()
-
1
;
}
}
//namespace CGoGN
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment