Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Inverse Voronoi? #23

Closed
RaffaGonzo opened this issue Feb 16, 2017 · 1 comment
Closed

Inverse Voronoi? #23

RaffaGonzo opened this issue Feb 16, 2017 · 1 comment

Comments

@RaffaGonzo
Copy link

Hi!

I was wondering if, given the points used to make a line segments used to make up a closed shape, could you fine the voronoi point? if so what is the function that I would look at?

@mbostock
Copy link
Member

I’m not sure if this is possible. There’s no facility to do this in d3-voronoi at any rate. You may want to ask on Stack Overflow or the Mathematics Stack Exchange. Here’s a related blog post I found with a Google search:

http://tylerneylon.com/blog/2008/06/turning-convex-partition-into-voronoi.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants