Skip to content

Conversation

@benguild
Copy link

I find this useful occasionally, but open to thoughts including about whether it belongs in the library.

Copy link
Collaborator

@jmr jmr left a comment

Choose a reason for hiding this comment

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

I can possibly see the use of the centroid as a point, but it seems rare. We can't add every function someone wants once.

Converting to a cell id seems odd.

@benguild
Copy link
Author

I can possibly see the use of the centroid as a point, but it seems rare. We can't add every function someone wants once.

Converting to a cell id seems odd.

I agree it may be rare especially given the age of this library and the fact that no one has suggested it yet. It can be useful to get approximate distance from the center of the collection of cells, for example, using that "centermost" cell… without having to figure that out from scratch.

If it's not deemed useful enough we could close.

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.

2 participants