Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

CellUnion's raw=True normalises while it should not #42

Open
calestyo opened this issue Jun 11, 2020 · 0 comments
Open

CellUnion's raw=True normalises while it should not #42

calestyo opened this issue Jun 11, 2020 · 0 comments

Comments

@calestyo
Copy link

When creating a CellUnion with the default of raw=True, the cells get normalised, while for the CPP library it's just the other way round:
https://s2sphere.readthedocs.io/en/latest/cpp.html#_CPPv211S2CellUnion

void InitRaw(vector const &cell_ids)

Like Init(), but does not call Normalize(). The cell unionmust* be normalized before doing any calculations with it, so it is the caller’s responsibility to make sure that the input is normalized. This method is useful when converting cell unions to another representation and back. These methods may be called multiple times.

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

No branches or pull requests

1 participant