You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Works for most cases but the algorithm is pretty messy since it is very original.
Convex hull clipping algorithm is fine. Polygon clipping is not. If anything, convex hull clipping algorithm should be based on that polygon clipping. Right now, they are both different and independent.
The text was updated successfully, but these errors were encountered:
// that means chatgpt copy pasted result does not work very good
// but anyways
.filter(|polygon| polygon.vertices().len() >= 3)
Convex hull clipping algorithm looks like it works but the current problem is that the new face from result of clipping does not have sorted vertices. In the original algorithm generated by ChatGPT, it does not even account for that face (in another word, the algorithm is bogus along with explanation).
Works for most cases but the algorithm is pretty messy since it is very original.
Convex hull clipping algorithm is fine. Polygon clipping is not. If anything, convex hull clipping algorithm should be based on that polygon clipping. Right now, they are both different and independent.
The text was updated successfully, but these errors were encountered: