Open citystrawman opened 1 month ago
Hi @janetournois , I saw you have assigned this issue. Do you need the code and input files?
Hello @citystrawman
indeed the piece of code you sent is not enough to understand what's wrong in your code. I would need a standalone and the data to understand why vertex_is_constrained_map
is not working
Hello @citystrawman indeed the piece of code you sent is not enough to understand what's wrong in your code. I would need a standalone and the data to understand why
vertex_is_constrained_map
is not working
Here's the code: clip_get_intersect_points_new_try_remove2.zip
Here's the input off model: model.zip
Because this code is my testing code, it is a bit long and has many intermediate processes, but you can find that I write out "slope_clip_before.off" and "slope_clip.off" which corresponds to the screenshot that I have shown, these two outputs are example that vertex_is_constrained_map
is not working. You can also find "slide_clip_before.off" and "slide_clip.off" , and these two outputs are example that vertex_is_constrained_map
working fine.
If you have anything unclear, feel free to call me. Thank you!
Hello @citystrawman indeed the piece of code you sent is not enough to understand what's wrong in your code. I would need a standalone and the data to understand why
vertex_is_constrained_map
is not working
BTW I use 5.5.x version
Please use the following template to help us solving your issue.
Issue Details
I am using PMP::isotropic_remeshing method to remesh a surface mesh. I have a vertex_is_constrained_map in which the corner points are set to be true.
Before isotropic_remeshing, the surface mesh is as follows:![image](https://github.com/user-attachments/assets/df39dc25-c4ef-4436-8d4e-dfc46bf14f9f)
and the green points are corner points (for these vertices, vertex_is_constrained_map[vertex] = true )
However, after isotropic_remeshing, the corner points are not at the same position, which is not what I desire:
![image](https://github.com/user-attachments/assets/936fc1dc-d4b1-4cbb-aefe-75a7fcfff137)
I use isotropic_remeshing to another example but that example works fine: the corner points all remains at its position:
I dont understand why the two isotropic_remeshing (I implement the two almost the same) results differently.
Source Code
Environment