-
interface
A region defined by a collection of zero or more closed loops.
interface
S2LaxPolylineShape represents a polyline.
static interface
Chains are closed, that is, there is an implicit edge between the ends of each chain.
static interface
Chains are open, that is, there is no implicit edge between the ends of each chain.
static interface
com.google.common.geometry.S2ShapeAspect.Mixed
A full S2Shape that mixes together each aspect.
final class
An abstract directed edge from one S2Point to another S2Point.
static class
A multi polygon with points referenced from an array.
static class
A multi polygon with vertices referenced from a
List<S2Point>, and cumulative edges
referenced from an
PrimitiveArrays.Longs.
static class
A multi polygon with vertex coordinates stored in a double[].
static class
A multi polygon with vertices at cell ID centers stored in a long[].
static class
A simple polygon with points referenced from an array.
static class
A simple polygon with vertices referenced from a
List<S2Point>.
static class
A simple polygon with vertex coordinates stored in a double[].
static class
A simple polygon with vertices at cell ID centers stored in a long[].
static class
A multi polyline storing references to previously allocated S2Point instances.
static class
A multi polyline storing xyz coordinates in a single packed 'double' array.
static class
A multi polyline storing cell IDs in a single 'long' array.
static class
A polyline storing references to previously allocated S2Point instances.
static class
static class
A polyline storing xyz coordinates in a single packed 'double' array.
static class
A polyline storing cell IDs in a single 'long' array.
final class
An S2Loop represents a simple spherical polygon.
static class
An S2Shape representing a list of S2Points.
class
final class
An S2Polyline represents a sequence of zero or more vertices connected by straight edges
(geodesics).
static class
A sequence of chains, represented as an array of the first 'edgeId' for each chain.
static class
A single non-empty chain.
Shapes currently in the index.
S2ShapeIndex.S2ClippedShape.shape()
Returns the original shape this clipped shape was clipped from.
Given a query edge AB, returns a map from the indexed shapes to a superset of the edges for
each shape that intersect AB.
A convenience function that returns all the shapes that contain p.
Returns edges for each shape that either crosses AB or shares a vertex with AB.
Returns an immutable list view of shapes in the index.
void
Adds the given shape to this index.
static boolean
Returns true if the given shape contains the given point.
void
static boolean
Returns true if all methods of the two S2Shapes return identical results, except for id() and
typeTag().
Given a query edge AB and a shape shape, returns a superset of the edges of
shape that intersect AB.
Returns edges from a given shape that either cross AB or share a vertex with AB.
This is a helper function for implementing S2Shape.getReferencePoint().
void
Currently not implemented.
boolean
Constructs a S2ShapeIndexCoder.