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
voronoiCells() to PGS_Voronoi. Generates Voronoi diagrams from shapes or point sets, outputting the diagram as polygonal cells (rather than lines only, as before).
Additional method signature for voronoiDiagram() that accepts a list of points (rather than PShapes only, as before).
findContainedPoints() to PGS_ShapePredicates. Tests each point in a given point set whether it is contained in a shape, returning only those points that are contained.
Changed
Constrained Voronoi diagrams are now constrained to envelope of input shape, rather than a arbitrarily large area.
Refactored List<PVector> method arguments to Collection<PVector> where possible.
Fixed
generateRandomPoints() no longer skips over small subsections of shapes when generating random points.