Open ThreeBoxWithCode opened 2 days ago
I will look into it. Can you share the input data or a minimal set of polygons, so I can reproduce the error?
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:
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