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

Vectorize the checking if a circle is contained in a polygon #3

Open
haciMMicah opened this issue Feb 6, 2022 · 0 comments
Open

Vectorize the checking if a circle is contained in a polygon #3

haciMMicah opened this issue Feb 6, 2022 · 0 comments

Comments

@haciMMicah
Copy link
Owner

Currently circle_pack loops over 8 points around a circle and checks that each point lies inside a polygon. This can definitely be vectorized using numpy, i.e. create array of the points and check if all points are inside the polygon with numpy functions.

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

1 participant