All Classes Interface Summary Class Summary Enum Summary
| Class |
Description |
| EncodedInts |
Utilities for encoding and decoding integers.
|
| LittleEndianInput |
Simple utility for reading little endian primitives from a stream.
|
| LittleEndianOutput |
Simple utility for writing little endian primitives to a stream.
|
| ParametrizedS2Point |
An S2Point that also has a parameter associated with it, which corresponds to a time-like order
on the points.
|
| PrimitiveArrays |
A set of interfaces for describing primitive arrays.
|
| PrimitiveArrays.Bytes |
An array of bytes.
|
| PrimitiveArrays.Cursor |
A cursor storing a position and a limit.
|
| R1Interval |
An R1Interval represents a closed, bounded interval on the real line.
|
| R2Rect |
An R2Rect represents a closed axis-aligned rectangle in the (x,y) plane.
|
| R2Rect.Axis |
Valid axes.
|
| R2Vector |
R2Vector represents a vector in the two-dimensional space.
|
| S1Angle |
|
| S1Angle.Builder |
|
| S1ChordAngle |
S1ChordAngle represents the angle subtended by a chord (i.e., the straight 3D Cartesian line
segment connecting two points on the unit sphere).
|
| S1Interval |
An S1Interval represents a closed interval on a unit circle (also known as a 1-dimensional
sphere).
|
| S2 |
|
| S2.Metric |
Defines an area or a length cell metric.
|
| S2AreaCentroid |
The area of an interior, i.e.
|
| S2Cap |
S2Cap represents a disc-shaped region defined by a center and radius.
|
| S2Cell |
An S2Cell is an S2Region object that represents a cell.
|
| S2CellId |
An S2CellId is a 64-bit unsigned integer that uniquely identifies a cell in the S2 cell
decomposition.
|
| S2CellIndex |
A collection of (cellId, label) pairs.
|
| S2CellIndex.CellVisitor |
A function that is called with each (cellId, label) pair to be visited.
|
| S2CellIndex.Labels |
|
| S2CellUnion |
An S2CellUnion is a region consisting of cells of various sizes.
|
| S2ClosestPointQuery<T> |
Given a set of points stored in an S2PointIndex, S2ClosestPointQuery provides methods that find
the closest point(s) to a given query point.
|
| S2ClosestPointQuery.Result<T> |
A query result paired with the distance to the query target.
|
| S2Coder<T> |
An interface for encoding and decoding values.
|
| S2ContainsPointQuery |
A query for whether one or more shapes in an S2ShapeIndex contain a given S2Point.
|
| S2ContainsPointQuery.Options |
The options for building an S2ContainsPointQuery.
|
| S2ContainsPointQuery.S2VertexModel |
A rule for whether shapes are considered to contain their vertices.
|
| S2ContainsVertexQuery |
This class determines whether a polygon contains one of its vertices given the edges incident to
that vertex.
|
| S2ConvexHullQuery |
S2ConvexHullQuery builds the convex hull of any collection of points, polylines, loops, and
polygons.
|
| S2Edge |
An abstract directed edge from one S2Point to another S2Point.
|
| S2EdgeIndex |
|
| S2EdgeIndex.DataEdgeIterator |
An iterator on data edges that may cross a query edge (a,b).
|
| S2EdgeQuery |
S2EdgeQuery is used to find edges or shapes that are crossed by an edge.
|
| S2EdgeQuery.Edges |
An iterator over the sorted unique edge IDs of a shape that may intersect some query edge.
|
| S2EdgeQuery.ShapeEdges |
An Edges that contains all the edges of a shape with the given number of edges.
|
| S2EdgeUtil |
This class contains various utility functions related to edges.
|
| S2EdgeUtil.EdgeCrosser |
Used to efficiently test a fixed edge AB against an edge chain.
|
| S2EdgeUtil.LongitudePruner |
The purpose of this class is to find edges that intersect a given longitude interval.
|
| S2EdgeUtil.RectBounder |
This class computes a bounding rectangle that contains all edges defined by a vertex chain v0,
v1, v2, ...
|
| S2EdgeUtil.WedgeContains |
Returns true if wedge A contains wedge B.
|
| S2EdgeUtil.WedgeContainsOrCrosses |
|
| S2EdgeUtil.WedgeContainsOrIntersects |
|
| S2EdgeUtil.WedgeIntersects |
Returns true if wedge A intersects wedge B.
|
| S2EdgeUtil.WedgeProcessor |
Wedge processors are used to determine the local relationship between two polygons that share a
common vertex.
|
| S2EdgeUtil.XYZPruner |
The purpose of this class is to find edges that intersect a given XYZ bounding box.
|
| S2Error |
An error code and text string describing the first error encountered during a validation process.
|
| S2Error.Code |
|
| S2FractalBuilder |
A simple class that generates "Koch snowflake" fractals (see Wikipedia for an introduction).
|
| S2Iterator<T extends S2Iterator.Entry> |
A random access iterator that provides low-level access to entries sorted by cell ID.
|
| S2Iterator.Entry |
An interface to provide the cell ID for an element in a sorted list.
|
| S2LatLng |
This class represents a point on the unit sphere as a pair of latitude-longitude coordinates.
|
| S2LatLngRect |
S2LatLngRect represents a latitude-longitude rectangle.
|
| S2LatLngRect.Builder |
This class is a builder for S2LatLngRect instances.
|
| S2LatLngRectBase |
|
| S2LaxPolygonShape |
A region defined by a collection of zero or more closed loops.
|
| S2LaxPolygonShape.Coder |
|
| S2LaxPolygonShape.MultiArray |
A multi polygon with points referenced from an array.
|
| S2LaxPolygonShape.MultiList |
A multi polygon with vertices referenced from a List, and cumulative edges
referenced from an PrimitiveArrays.Longs.
|
| S2LaxPolygonShape.MultiPacked |
A multi polygon with vertex coordinates stored in a double[].
|
| S2LaxPolygonShape.MultiSnapped |
A multi polygon with vertices at cell ID centers stored in a long[].
|
| S2LaxPolygonShape.SimpleArray |
A simple polygon with points referenced from an array.
|
| S2LaxPolygonShape.SimpleList |
A simple polygon with vertices referenced from a List.
|
| S2LaxPolygonShape.SimplePacked |
A simple polygon with vertex coordinates stored in a double[].
|
| S2LaxPolygonShape.SimpleSnapped |
A simple polygon with vertices at cell ID centers stored in a long[].
|
| S2LaxPolylineShape |
S2LaxPolylineShape represents a polyline.
|
| S2LaxPolylineShape.Coder |
|
| S2LaxPolylineShape.MultiArray |
A multi polyline storing references to previously allocated S2Point instances.
|
| S2LaxPolylineShape.MultiPacked |
A multi polyline storing xyz coordinates in a single packed 'double' array.
|
| S2LaxPolylineShape.MultiSnapped |
A multi polyline storing cell IDs in a single 'long' array.
|
| S2LaxPolylineShape.SimpleArray |
A polyline storing references to previously allocated S2Point instances.
|
| S2LaxPolylineShape.SimpleList |
|
| S2LaxPolylineShape.SimplePacked |
A polyline storing xyz coordinates in a single packed 'double' array.
|
| S2LaxPolylineShape.SimpleSnapped |
A polyline storing cell IDs in a single 'long' array.
|
| S2Loop |
An S2Loop represents a simple spherical polygon.
|
| S2PaddedCell |
S2PaddedCell represents an S2Cell whose (u,v)-range has been expanded on all sides by a given
amount of "padding".
|
| S2Point |
An S2Point represents a point on the unit sphere as a 3D vector.
|
| S2Point.Builder |
|
| S2Point.Shape |
An S2Shape representing a list of S2Points.
|
| S2Point.Shape.Coder |
|
| S2PointCompression |
|
| S2PointIndex<Data> |
S2PointIndex maintains an index of points sorted by leaf S2CellId.
|
| S2PointIndex.Entry<Data> |
An S2Iterator-compatible pair of S2Point with associated client data of a given type.
|
| S2PointRegion |
An S2PointRegion is a region that contains a single point.
|
| S2Polygon |
An S2Polygon is an S2Region object that represents a polygon.
|
| S2Polygon.S2PolygonIndex |
|
| S2PolygonBuilder |
This is a simple class for assembling polygons out of edges.
|
| S2PolygonBuilder.Options |
|
| S2PolygonBuilder.Options.Builder |
|
| S2Polyline |
An S2Polyline represents a sequence of zero or more vertices connected by straight edges
(geodesics).
|
| S2Predicates |
A collection of geometric predicates core to the robustness of the S2 library.
|
| S2Predicates.Excluded |
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.
|
| S2Predicates.Sign |
Tests of whether three points represent a left turn (+1), right turn (-1), or neither (0).
|
| S2Projections |
This class specifies the coordinate systems and transforms used to project points from the sphere
to the unit cube to an S2CellId.
|
| S2Projections.UvTransform |
A transform from 3D cartesian coordinates to the 2D coordinates of a face.
|
| S2Region |
An S2Region represents a two-dimensional region over the unit sphere.
|
| S2RegionCoverer |
An S2RegionCoverer is a class that allows arbitrary regions to be approximated as unions of cells
(S2CellUnion).
|
| S2RegionCoverer.Builder |
|
| S2RegionIntersection |
An S2RegionIntersection represents an intersection of overlapping regions.
|
| S2RegionUnion |
An S2RegionUnion represents a union of possibly overlapping regions.
|
| S2Shape |
S2Shape is an abstract base class that defines a shape.
|
| S2Shape.MutableEdge |
A simple receiver for the endpoints of an edge.
|
| S2Shape.ReferencePoint |
A point with a known containment relationship.
|
| S2ShapeIndex |
|
| S2ShapeIndex.Cell |
This class contains the set of clipped shapes within a particular index cell, sorted in
increasing order of shape id.
|
| S2ShapeIndex.CellRelation |
The possible relationships between a "target" cell and the cells of the S2ShapeIndex.
|
| S2ShapeIndex.Options |
Options that affect construction of the S2ShapeIndex.
|
| S2ShapeIndex.RangeIterator |
RangeIterator is a wrapper over CellIterator that is specialized for merging shape indices.
|
| S2ShapeIndex.S2ClippedShape |
S2ClippedShape represents the part of a shape that intersects an S2Cell.
|
| S2ShapeIndexCoder |
|
| S2ShapeIndexMeasures |
Defines various angle and area measures for S2ShapeIndex objects.
|
| S2ShapeIndexRegion |
This class wraps an S2ShapeIndex object with the additional methods needed to implement the
S2Region API, in order to allow S2RegionCoverer to compute S2CellId coverings of arbitrary
collections of geometry.
|
| S2ShapeUtil |
Utilities for working with S2Shape.
|
| S2ShapeUtil.AreaCentroidMeasure |
A collector of both combined area and centroid values.
|
| S2ShapeUtil.AreaMeasure |
A collector of the steradian area.
|
| S2ShapeUtil.CentroidMeasure |
A collector of the center of mass.
|
| S2ShapeUtil.IntPredicate |
A filter of indexes.
|
| S2ShapeUtil.TriangleConsumer |
A consumer of triangles.
|
| S2TaggedShapeCoder |
An encoder/decoder of tagged S2Shapes.
|
| S2TaggedShapeCoder.Builder |
|
| S2TextFormat |
S2TextFormat contains a collection of functions for converting geometry to and from a human-
readable format.
|
| VectorCoder<T> |
An encoder/decoder of Lists.
|