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
Philip Trettner
polymesh
Commits
2e3eab80
Commit
2e3eab80
authored
Jul 24, 2018
by
Philip Trettner
Browse files
fixed outgoing halfedge in edge_split
parent
237fc6e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/polymesh/impl/impl_low_level_api_mutable.hh
View file @
2e3eab80
...
...
@@ -497,6 +497,8 @@ inline vertex_index low_level_api_mutable::edge_split(edge_index e) const
if
(
v1_out
==
h0
)
v1_out
=
e2h0
;
outgoing_halfedge_of
(
v
)
=
is_boundary
(
e1h0
)
?
e1h0
:
e2h1
;
// rewire faces
if
(
f0
.
is_valid
())
{
...
...
@@ -557,7 +559,7 @@ inline vertex_index low_level_api_mutable::halfedge_split(halfedge_index h) cons
if
(
v0_out
==
h1
)
v0_out
=
h3
;
outgoing_halfedge_of
(
v
)
=
is_
free
(
h1
)
?
h1
:
h2
;
// boundary
outgoing_halfedge_of
(
v
)
=
is_
boundary
(
h1
)
?
h1
:
h2
;
// boundary
// rewire faces
// -> already ok
...
...
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