shanipribadi / rust-s2

S2 geometry library in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

S2 geometry library in Rust

License:Apache License 2.0


Languages

Language:Rust 100.0%