Simple utility for reading little endian primitives from a stream.
Simple utility for writing little endian primitives to a stream.
An S2Point that also has a parameter associated with it, which corresponds to a time-like order
on the points.
A cursor storing a position and a limit.
An R1Interval represents a closed, bounded interval on the real line.
An R2Rect represents a closed axis-aligned rectangle in the (x,y) plane.
R2Vector represents a vector in the two-dimensional space.
S1ChordAngle represents the angle subtended by a chord (i.e., the straight 3D Cartesian line
segment connecting two points on the unit sphere).
An S1Interval represents a closed interval on a unit circle (also known as a 1-dimensional
sphere).
Defines an area or a length cell metric.
The area of an interior, i.e. the region on the left side of an odd number of loops and
optionally a centroid.
S2Cap represents a disc-shaped region defined by a center and radius.
An S2Cell is an S2Region object that represents a cell.
An S2CellId is a 64-bit unsigned integer that uniquely identifies a cell in the S2 cell
decomposition.
An iterator over all (cellId, label) pairs in an unspecified order.
A function that is called with each (cellId, label) pair to be visited.
An iterator that visits the (cellId, label) pairs that cover a set of leaf cell ranges (see
RangeIterator).
An iterator that seeks and iterates over a set of non-overlapping leaf cell ranges that cover
the entire sphere.
An S2CellUnion is a region consisting of cells of various sizes.
A query result paired with the distance to the query target.
An interface for encoding and decoding values.
The options for building an S2ContainsPointQuery.
A rule for whether shapes are considered to contain their vertices.
An abstract directed edge from one S2Point to another S2Point.
An iterator over the sorted unique edge IDs of a shape that may intersect some query edge.
Wedge processors are used to determine the local relationship between two polygons that share a
common vertex.
An error code and text string describing the first error encountered during a validation process.
A random access iterator that provides low-level access to entries sorted by cell ID.
An interface to provide the cell ID for an element in a sorted list.
This class represents a point on the unit sphere as a pair of latitude-longitude coordinates.
S2LatLngRect represents a latitude-longitude rectangle.
This class is a builder for S2LatLngRect instances.
A region defined by a collection of zero or more closed loops.
S2LaxPolylineShape represents a polyline.
An S2Loop represents a simple spherical polygon.
S2PaddedCell represents an S2Cell whose (u,v)-range has been expanded on all sides by a given
amount of "padding".
An S2Point represents a point on the unit sphere as a 3D vector.
An S2Shape representing a list of S2Points.
S2PointIndex maintains an index of points sorted by leaf S2CellId.
An S2Iterator-compatible pair of S2Point with associated client data of a given type.
An S2PointRegion is a region that contains a single point.
An S2Polygon is an S2Region object that represents a polygon.
This is a simple class for assembling polygons out of edges.
An S2Polyline represents a sequence of zero or more vertices connected by straight edges
(geodesics).
Given two sites A and B that form the center of caps of radius 'r', this indicates which sites
are irrelevant to the Voronoi diagram relative to an edge PQ.
This class specifies the coordinate systems and transforms used to project points from the sphere
to the unit cube to an
S2CellId.
A transform from 3D cartesian coordinates to the 2D coordinates of a face.
An S2Region represents a two-dimensional region over the unit sphere.
An S2RegionCoverer is a class that allows arbitrary regions to be approximated as unions of cells
(S2CellUnion).
S2Shape is an abstract base class that defines a shape.
A simple receiver for the endpoints of an edge.
A point with a known containment relationship.
This class contains the set of clipped shapes within a particular index cell, sorted in
increasing order of shape id.
The possible relationships between a "target" cell and the cells of the S2ShapeIndex.
Options that affect construction of the S2ShapeIndex.
RangeIterator is a wrapper over CellIterator that is specialized for merging shape indices.
S2ClippedShape represents the part of a shape that intersects an S2Cell.
An encoder/decoder of tagged
S2Shapes.
An encoder/decoder of
List<T>s.