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
David Cazier
CGoGN
Commits
42e2ef2b
Commit
42e2ef2b
authored
Apr 22, 2013
by
Lionel Untereiner
Browse files
new edge id management
parent
e29fe722
Changes
1
Show whitespace changes
Inline
Side-by-side
include/Algo/ImplicitHierarchicalMesh/subdivision.hpp
View file @
42e2ef2b
...
@@ -158,7 +158,7 @@ void subdivideFace(typename PFP::MAP& map, Dart d, VertexAttribute<typename PFP:
...
@@ -158,7 +158,7 @@ void subdivideFace(typename PFP::MAP& map, Dart d, VertexAttribute<typename PFP:
{
// linked to the central vertex
{
// linked to the central vertex
Dart
next
=
map
.
phi1
(
map
.
phi1
(
dd
))
;
Dart
next
=
map
.
phi1
(
map
.
phi1
(
dd
))
;
map
.
splitFace
(
map
.
phi1
(
ne
),
dd
)
;
map
.
splitFace
(
map
.
phi1
(
ne
),
dd
)
;
Dart
nne
=
map
.
alpha1
(
dd
)
;
//
Dart nne = map.alpha1(dd) ;
//id = map.getNewEdgeId() ;
//id = map.getNewEdgeId() ;
//map.setEdgeId(nne, id) ;
//map.setEdgeId(nne, id) ;
//map.setEdgeId(map.phi2(nne), id) ;
//map.setEdgeId(map.phi2(nne), id) ;
...
@@ -174,7 +174,7 @@ void subdivideFace(typename PFP::MAP& map, Dart d, VertexAttribute<typename PFP:
...
@@ -174,7 +174,7 @@ void subdivideFace(typename PFP::MAP& map, Dart d, VertexAttribute<typename PFP:
else
if
(
eId
==
1
)
else
if
(
eId
==
1
)
map
.
setEdgeId
(
dit
,
0
);
map
.
setEdgeId
(
dit
,
0
);
dit
=
map
.
phi2
(
map
.
phi_1
(
ne
));
dit
=
map
.
phi2
(
map
.
phi_1
(
dit
));
}
}
while
(
dit
!=
map
.
phi2
(
ne
));
while
(
dit
!=
map
.
phi2
(
ne
));
}
}
...
...
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