Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Pitiot
CGoGN
Commits
13408457
Commit
13408457
authored
Feb 07, 2012
by
Pierre Kraemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction begin / end / next pour MR
parent
b263ad7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
include/Topology/generic/genericmap.hpp
include/Topology/generic/genericmap.hpp
+19
-5
No files found.
include/Topology/generic/genericmap.hpp
View file @
13408457
...
...
@@ -258,20 +258,34 @@ inline AttributeMultiVector<unsigned int>* GenericMap::getEmbeddingAttributeVect
inline
Dart
GenericMap
::
begin
()
{
return
Dart
::
create
(
m_attribs
[
DART
].
begin
());
if
(
m_isMultiRes
)
{
unsigned
int
d
=
m_mrattribs
.
begin
()
;
while
(
getDartLevel
(
d
)
>
m_mrCurrentLevel
)
m_mrattribs
.
next
(
d
)
;
return
Dart
::
create
(
d
)
;
}
return
Dart
::
create
(
m_attribs
[
DART
].
begin
())
;
}
inline
Dart
GenericMap
::
end
()
{
if
(
m_isMultiRes
)
return
Dart
::
create
(
m_mrattribs
.
end
())
;
return
Dart
::
create
(
m_attribs
[
DART
].
end
())
;
}
inline
void
GenericMap
::
next
(
Dart
&
d
)
{
unsigned
int
d_index
=
dartIndex
(
d
);
m_attribs
[
DART
].
next
(
d_index
)
;
d
=
Dart
::
create
(
d_index
);
if
(
m_isMultiRes
)
{
while
((
d
.
index
!=
m_mrattribs
.
end
()
)
&&
(
getDartLevel
(
d
.
index
)
>
m_mrCurrentLevel
))
m_mrattribs
.
next
(
d
.
index
)
;
}
else
m_attribs
[
DART
].
next
(
d
.
index
)
;
}
/****************************************
...
...
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