Skip to content
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

Voronoi with bounds fail sometimes at boolean intersection #3

Open
DanielAbalde opened this issue Mar 29, 2023 · 0 comments
Open

Voronoi with bounds fail sometimes at boolean intersection #3

DanielAbalde opened this issue Mar 29, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@DanielAbalde
Copy link
Owner

var ints = Curve.CreateBooleanIntersection(cell.ToNurbsCurve(), bounds.ToNurbsCurve(), Utils.RhinoTolerance);

it returns empty intersections sometimes due to the lack of planarize cell curve with the input plane, resulting in null cells.

Due this method belongs to the Vertex class and the Plane property belongs to Delaunay2d class, the planarize transformation must to be done before calling the method, but the vertices of the cell are in the method context. So, consider setting a plane type argument if it does not have serious consequences.

@DanielAbalde DanielAbalde added the bug Something isn't working label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant