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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
KennethVanhoey
CGoGN
Commits
53f74df9
Commit
53f74df9
authored
Oct 05, 2011
by
untereiner
Browse files
Options
Browse Files
Download
Plain Diff
Merge cgogn:~cgogn/CGoGN
parents
4d495942
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 @
53f74df9
...
...
@@ -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