Skip to content

Voronoi with bounds fail sometimes at boolean intersection #3

@DanielAbalde

Description

@DanielAbalde

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions