Skip to content

Conversation

@Fil
Copy link
Contributor

@Fil Fil commented Jun 9, 2022

A complement to #930

the X and Y channels should be optional in all the voronoi marks—since d3-delaunay can handle collinear points (and it's not just for the sake of it: the resulting voronoi can be useful, as illustrated in the test case).

A complement to #930

the X and Y channels should be optional in all the voronoi marks—since d3-delaunay can handle collinear points (and it's not just for the sake of it: the resulting voronoi can be useful, as illustrated in the test case).
@Fil Fil requested a review from mbostock June 9, 2022 16:51
@Fil Fil mentioned this pull request Jun 9, 2022
10 tasks
Copy link
Member

@mbostock mbostock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want X and Y to default to the center of the frame, not 0. It doesn’t matter for the Voronoi, but it would matter for the degenerate case of a one-dimensional Delaunay (which you could argue, who cares anyway, but I still think we should do it). I’ll fix…

@mbostock mbostock merged commit d0d072b into main Jun 10, 2022
@mbostock mbostock deleted the fil/voronoi-1-d branch June 10, 2022 16:17
@Fil
Copy link
Contributor Author

Fil commented Jun 10, 2022

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants