Registry / other / s2geometry

s2geometry

JSON →
library0.13.1vcpkgunverified

S2 is a library for spherical geometry with robust spatial indexing.

vcpkg install s2geometry
INSTALL
IMPORT
SIG · S2GEOMETRY
S
s2geometry
othercppv0.13.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

s2/s2.h
#include <s2/s2.h>

Convert latitude/longitude to S2 point

#include "s2/s2latlng.h" #include <cstdio> int main() { S2LatLng ll = S2LatLng::FromDegrees(40.7128, -74.0060); S2Point point = ll.ToPoint(); printf("Point: %f %f %f\n", point.x(), point.y(), point.z()); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.13.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources

No resource links recorded.

s2geometry — pip install s2geometry · libregistry