Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
KennethVanhoey
CGoGN
Commits
4f0b45f5
Commit
4f0b45f5
authored
Oct 03, 2011
by
Thomas
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of cgogn.u-strasbg.fr:~cgogn/CGoGN
parents
2ebf6b07
bb7dfccd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
37 deletions
+37
-37
include/Topology/generic/embeddedMap2.hpp
include/Topology/generic/embeddedMap2.hpp
+37
-37
No files found.
include/Topology/generic/embeddedMap2.hpp
View file @
4f0b45f5
...
...
@@ -316,45 +316,45 @@ void EmbeddedMap2<MAP2>::sewFaces(Dart d, Dart e)
template
<
typename
MAP2
>
void
EmbeddedMap2
<
MAP2
>::
unsewFaces
(
Dart
d
)
{
//
bool boundaryD = false ;
//
bool boundaryE = false ;
//
if (MAP2::isOrbitEmbedded(VERTEX))
//
{
//
if(MAP2::isBoundaryVertex(d))
//
boundaryD = true ;
//
if(MAP2::isBoundaryVertex(MAP2::phi1(d)))
//
boundaryE = true ;
//
}
//
//
Dart e = MAP2::phi2(d) ;
bool
boundaryD
=
false
;
bool
boundaryE
=
false
;
if
(
MAP2
::
isOrbitEmbedded
(
VERTEX
))
{
if
(
MAP2
::
isBoundaryVertex
(
d
))
boundaryD
=
true
;
if
(
MAP2
::
isBoundaryVertex
(
MAP2
::
phi1
(
d
)))
boundaryE
=
true
;
}
Dart
e
=
MAP2
::
phi2
(
d
)
;
MAP2
::
unsewFaces
(
d
)
;
//
if (MAP2::isOrbitEmbedded(VERTEX))
//
{
//
if(boundaryD)
//
{
//
if(e != d)
//
{
//
Dart ee = MAP2::phi1(e) ;
//
MAP2::embedNewCell(VERTEX, ee) ;
//
MAP2::copyCell(VERTEX, ee, d) ;
//
}
//
}
//
//
if(boundaryE)
//
{
//
if(e != d)
//
{
//
MAP2::embedNewCell(VERTEX, e) ;
//
MAP2::copyCell(VERTEX, e, MAP2::phi1(d)) ;
//
}
//
}
//
}
//
if (MAP2::isOrbitEmbedded(EDGE))
//
{
//
MAP2::embedNewCell(EDGE, e) ;
//
MAP2::copyCell(EDGE, e, d) ;
//
}
if
(
MAP2
::
isOrbitEmbedded
(
VERTEX
))
{
if
(
boundaryD
)
{
if
(
e
!=
d
)
{
Dart
ee
=
MAP2
::
phi1
(
e
)
;
MAP2
::
embedNewCell
(
VERTEX
,
ee
)
;
MAP2
::
copyCell
(
VERTEX
,
ee
,
d
)
;
}
}
if
(
boundaryE
)
{
if
(
e
!=
d
)
{
MAP2
::
embedNewCell
(
VERTEX
,
e
)
;
MAP2
::
copyCell
(
VERTEX
,
e
,
MAP2
::
phi1
(
d
))
;
}
}
}
if
(
MAP2
::
isOrbitEmbedded
(
EDGE
))
{
MAP2
::
embedNewCell
(
EDGE
,
e
)
;
MAP2
::
copyCell
(
EDGE
,
e
,
d
)
;
}
}
template
<
typename
MAP2
>
...
...
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