s2

Crates.ios2
lib.rss2
version0.0.13
sourcesrc
created_at2017-05-31 12:53:00.207719
updated_at2024-10-02 11:27:54.035824
descriptionS2 geometric library
homepagehttps://github.com/yjh0502/rust-s2
repositoryhttps://github.com/yjh0502/rust-s2
max_upload_size
id17038
size669,273
Jihyun Yu (yjh0502)

documentation

https://docs.rs/rust-s2

README

rust-s2

Rust port of Google S2 geometry library.

Build Status docs

Status of the Rust Library

This library is principally a port of the Golang S2 library, adapting to Rust idioms where it makes sense. We detail the progress of this port below relative to that Go library.

ℝ¹ - One-dimensional Cartesian coordinates

Full parity with Go.

ℝ² - Two-dimensional Cartesian coordinates

Full parity with Go.

ℝ³ - Three-dimensional Cartesian coordinates

Full parity with Go.

- Circular Geometry

Full parity with Go.

- Spherical Geometry

complete

  • Cell, CellID, LatLng, Metric, Point, Region, stuv

in progress

  • CellUnion, edgeutil, predicates, Rect

pending

  • loop, paddedcell, polygon, polyline, shapeindex
Commit count: 164

cargo fmt