Skip to content

Commit

Permalink
s2: Add CellIndex and associated types.
Browse files Browse the repository at this point in the history
This is used by Closest/Furthest Cell Query, which is needed for
Builder.

Updates #59.

Signed-off-by: David Symonds <dsymonds@golang.org>
  • Loading branch information
rsned authored and dsymonds committed Jul 30, 2020
1 parent f335e21 commit 75f8884
Show file tree
Hide file tree
Showing 3 changed files with 845 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -161,6 +161,7 @@ listing of the incomplete methods are documented at the end of each file.
**In Progress** Files that have some work done, but are probably not complete
enough for general use in production code.

* CellIndex - A queryable index of CellIDs.
* Polygon - Polygons with multiple loops are supported. It fully implements
Shape and Region, but it's missing most other methods. (Area, Centroid,
Distance, Projection, Intersection, Union, Contains, Normalized, etc.)
Expand Down

0 comments on commit 75f8884

Please sign in to comment.