A small discussion for Clip method #8317
Closed
citystrawman
started this conversation in
General
Replies: 1 comment 1 reply
-
Probably missing this one. I don't understand why the solution I provided with corefinement in one of your tickets is not doing what you want. Maybe post a 2D picture of the input and what output you'd like to have. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am tweaking Visitor to understand how Clip method works. Here's my basic settings:
I have slope and slide as follows and I use
clip(slide, slope, params::visitor(), params::do_not_modify(false))
and after that both slide and slope got "cut", and slide surface mesh only remains the part that is inside slope.Then I use Visitor to identify the splitted halfedges and their target(vertex), and plot them by
add_property_map
. Here's my definition of visitor:From the visitor I am trying to use
edge_split
to collect the new halfedges that are created when doing clipping.After that, I am going to colorize the halfedges and their corresponding vertex:
then I visualize the clipped slide and slope:
what confused me, is that for slide, there's some vertex which does not have its corresponding halfedge shown. I guess, probably, these halfedges actually exists in the removed part But from the code, the vertex is obtained by the halfedge and slide, does that mean that slide still maintains the halfedges that are removed ?
Beta Was this translation helpful? Give feedback.
All reactions