-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KSP] Finalizing Partition Error [Help][CGAL 6.0.1] #8624
Comments
I will look into it. Can you share the input data or a minimal set of polygons, so I can reproduce the error? |
@soesau Thanks for your reply. I changed the data into.OFF format and put it in this link. Here is an explanation of the data, I build polygons by assigning 2-D line segments with positive and negative height values, which I call fake polygons: |
@soesau Hello, can this error be repeated on your side? |
Yes, I can reproduce the error and I am working on a solution! |
Thanks for confirming! Please let me know if you need any additional details from my side. Looking forward to your solution. |
@ThreeBoxWithCode I created a PR with a fix. You can try it. However, we may continue to work on the PR. |
I will try it, thank you for your work 👍 |
## Summary of Changes Switching initial_polygon_iedge_intersections() and calculate_edge_intersection_time() to Intersection_kernel (epeck) Resolving potential non-convex partitions ## Release Management * Affected package(s): KSP * Issue(s) solved (if any): fix #8624
When I use KSP(Kinetic Shape Partition)[CGAL 6.0.1] to partition the space, the code
ksp.partition(2)
reports an error.Issue Details
Details of the error are as follows:
I found that in
sorted_around_edge
function, pointso_prime, o, q
were detected as collinear errors. I would like to ask how can I add constraints to theinput_vertices
andinput_faces
to avoid such errors?I hope someone can give me some ideas. Thank you very much~
Source Code
Environment
The text was updated successfully, but these errors were encountered: