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
46488a5d
Commit
46488a5d
authored
Sep 18, 2020
by
Philip Trettner
Browse files
fixed collapse comment
parent
6a6bcc6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/polymesh/ranges.hh
View file @
46488a5d
...
...
@@ -435,9 +435,11 @@ struct halfedge_collection : smart_collection<Mesh*, halfedge_tag, iterator>
/// O(valence) computation
[[
deprecated
(
"use pm::are_adjacent instead"
)]]
bool
exists
(
vertex_handle
v_from
,
vertex_handle
v_to
)
const
;
/// Collapsed the given half-edge by removing it, keeping the to_vertex
, and creating new triangles
/// Collapsed the given half-edge by removing it, keeping the to_vertex
/// Preserves half-edge properties but not face or vertex ones
/// Similar to a vertex collapse of the `from` vertex with triangulation towards `to`
/// This function never creates, only deletes faces, edges, vertices (depending on case)
/// NOTE: this should work for all topologies as long as the result is manifold
/// can be checked with pm::can_collapse(h)
void
collapse
(
halfedge_handle
h
)
const
;
/// Splits this half-edge in half by inserting a vertex (which is returned)
...
...
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