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
KennethVanhoey
CGoGN
Commits
f0c76ffa
Commit
f0c76ffa
authored
Nov 28, 2012
by
Sylvain Thery
Browse files
restore EMBNULL testing
parent
02625daf
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/Topology/generic/attributeHandler.hpp
View file @
f0c76ffa
...
...
@@ -137,8 +137,8 @@ inline T& AttributeHandler<T, ORBIT>::operator[](Dart d)
assert
(
valid
||
!
"Invalid AttributeHandler"
)
;
unsigned
int
a
=
m_map
->
getEmbedding
<
ORBIT
>
(
d
)
;
//
if (a == EMBNULL)
//
a = m_map->setOrbitEmbeddingOnNewCell<ORBIT>(d) ;
if
(
a
==
EMBNULL
)
a
=
m_map
->
setOrbitEmbeddingOnNewCell
<
ORBIT
>
(
d
)
;
return
m_attrib
->
operator
[](
a
)
;
}
...
...
include/Topology/generic/cellmarker.h
View file @
f0c76ffa
...
...
@@ -132,8 +132,8 @@ public:
assert
(
m_markVector
!=
NULL
);
unsigned
int
a
=
m_map
.
getEmbedding
<
CELL
>
(
d
)
;
//
if (a == EMBNULL)
//
a = m_map.setOrbitEmbeddingOnNewCell<CELL>(d) ;
if
(
a
==
EMBNULL
)
a
=
m_map
.
setOrbitEmbeddingOnNewCell
<
CELL
>
(
d
)
;
m_markVector
->
operator
[](
a
).
setMark
(
m_mark
)
;
}
...
...
@@ -146,8 +146,8 @@ public:
assert
(
m_markVector
!=
NULL
);
unsigned
int
a
=
m_map
.
getEmbedding
<
CELL
>
(
d
)
;
//
if (a == EMBNULL)
//
a = m_map.setOrbitEmbeddingOnNewCell<CELL>(d) ;
if
(
a
==
EMBNULL
)
a
=
m_map
.
setOrbitEmbeddingOnNewCell
<
CELL
>
(
d
)
;
m_markVector
->
operator
[](
a
).
unsetMark
(
m_mark
)
;
}
...
...
@@ -160,8 +160,8 @@ public:
assert
(
m_markVector
!=
NULL
);
unsigned
int
a
=
m_map
.
getEmbedding
<
CELL
>
(
d
)
;
//
if (a == EMBNULL)
//
return false ;
if
(
a
==
EMBNULL
)
return
false
;
return
m_markVector
->
operator
[](
a
).
testMark
(
m_mark
)
;
}
...
...
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