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

Site_2::construct_site_2 for Voronoi Diagram #213

Open
r-barnes opened this issue Aug 3, 2022 · 2 comments
Open

Site_2::construct_site_2 for Voronoi Diagram #213

r-barnes opened this issue Aug 3, 2022 · 2 comments

Comments

@r-barnes
Copy link

r-barnes commented Aug 3, 2022

In C++ I use

voronoi_diagram.insert(Site_2::construct_site_2(point1, point2));

to insert a line segment in to the Voronoi diagram.

Site_2 doesn't appear to be in the SWIG bindings. Is there a way to add it or a workaround that will allow me to add the line segment without Site_2?

@sloriot
Copy link
Member

sloriot commented Aug 3, 2022

Unfortunately since there is no binding for segment Delaunay graph, the Voronoi diagram has not been added.

@r-barnes
Copy link
Author

r-barnes commented Aug 3, 2022

I haven't worked extensive with SWIG before, but if the process of adding a binding is relatively straight-forward and you have something you can point me that would walk me through it, I might be able to make a PR for it.

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

No branches or pull requests

2 participants