Skip to content

pybind: Add S2LatLng bindings#2

Open
deustis wants to merge 1 commit intodeustis/s1angle_bindingsfrom
deustis/s2latlng_bindings
Open

pybind: Add S2LatLng bindings#2
deustis wants to merge 1 commit intodeustis/s1angle_bindingsfrom
deustis/s2latlng_bindings

Conversation

@deustis
Copy link
Copy Markdown
Owner

@deustis deustis commented Apr 7, 2026

Add pybind11 bindings for S2LatLng.

S2LatLng guarantees validity by construction: constructors and factory
methods raise ValueError for out-of-range inputs, and arithmetic
operators automatically normalize the result.

(Part of a series of addressing google#524)

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.

1 participant