Serialized Form
-
Package com.google.common.geometry
-
Class com.google.common.geometry.ParametrizedS2Point extends java.lang.Object implements Serializable
-
Serialized Fields
-
point
S2Point point
-
time
double time
-
-
-
Class com.google.common.geometry.R1Interval extends java.lang.Object implements Serializable
-
Serialized Fields
-
hi
double hi
-
lo
double lo
-
-
-
Class com.google.common.geometry.R2Rect extends java.lang.Object implements Serializable
-
Serialized Fields
-
x
R1Interval x
-
y
R1Interval y
-
-
-
Class com.google.common.geometry.R2Vector extends java.lang.Object implements Serializable
-
Serialized Fields
-
x
double x
-
y
double y
-
-
-
Class com.google.common.geometry.S1Angle extends java.lang.Object implements Serializable
-
Serialized Fields
-
radians
double radians
-
-
-
Class com.google.common.geometry.S1ChordAngle extends java.lang.Object implements Serializable
-
Serialized Fields
-
length2
double length2
-
-
-
Class com.google.common.geometry.S1Interval extends java.lang.Object implements Serializable
-
Serialized Fields
-
hi
double hi
-
lo
double lo
-
-
-
Class com.google.common.geometry.S2AreaCentroid extends java.lang.Object implements Serializable
-
Serialized Fields
-
area
double area
-
centroid
S2Point centroid
-
-
-
Class com.google.common.geometry.S2Cap extends java.lang.Object implements Serializable
-
Serialized Fields
-
axis
S2Point axis
-
radius
S1ChordAngle radius
-
-
-
Class com.google.common.geometry.S2Cell extends java.lang.Object implements Serializable
-
Serialized Fields
-
cellId
S2CellId cellId
-
face
byte face
-
level
byte level
-
orientation
byte orientation
-
uMax
double uMax
-
uMin
double uMin
-
vMax
double vMax
-
vMin
double vMin
-
-
-
Class com.google.common.geometry.S2CellId extends java.lang.Object implements Serializable
-
Serialized Fields
-
id
long id
The id of the cell.
-
-
-
Class com.google.common.geometry.S2CellUnion extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
cellIds
java.util.ArrayList<S2CellId> cellIds
The CellIds that form the Union
-
-
Class com.google.common.geometry.S2Edge extends java.lang.Object implements Serializable
-
Class com.google.common.geometry.S2LatLng extends java.lang.Object implements Serializable
-
Serialized Fields
-
latRadians
double latRadians
-
lngRadians
double lngRadians
-
-
-
Class com.google.common.geometry.S2LatLngRect extends S2LatLngRectBase implements Serializable
-
Class com.google.common.geometry.S2LatLngRect.Builder extends S2LatLngRectBase implements Serializable
-
Class com.google.common.geometry.S2LatLngRectBase extends java.lang.Object implements Serializable
-
Serialized Fields
-
lat
R1Interval lat
-
lng
S1Interval lng
-
-
-
Class com.google.common.geometry.S2Loop extends java.lang.Object implements Serializable
-
Serialization Methods
-
readResolve
private java.lang.Object readResolve()
Returns the same instance after initializing transient fields.
-
-
Serialized Fields
-
bound
S2LatLngRect bound
A conservative bound on all points contained by this loop: if A.contains(P), then A.bound.contains(new S2LatLng(P)). -
depth
int depth
-
numVertices
int numVertices
-
originInside
boolean originInside
-
subregionBound
S2LatLngRect subregionBound
Since "bound" is not exact, it is possible that a loop A contains another loop B whose bounds are slightly larger. "subregionBound" has been expanded sufficiently to account for this error, i.e. if A.contains(B), then A.subregionBound.contains(B.bound). -
unindexedContainsCalls
java.util.concurrent.atomic.AtomicInteger unindexedContainsCalls
In general we build the index the first time it is needed, but we make an exception for contains(S2Point) because this method has a simple brute force implementation that is relatively cheap. For this one method we keep track of the number of calls made and only build the index once enough calls have been made that we think an index would be worthwhile. -
vertices
S2Point[] vertices
-
-
-
Class com.google.common.geometry.S2Point extends java.lang.Object implements Serializable
-
Serialized Fields
-
x
double x
-
y
double y
-
z
double z
-
-
-
Class com.google.common.geometry.S2Point.Shape extends java.util.AbstractList<S2Point> implements Serializable
- serialVersionUID:
- 1L
-
Class com.google.common.geometry.S2PointRegion extends java.lang.Object implements Serializable
-
Serialized Fields
-
point
S2Point point
-
-
-
Class com.google.common.geometry.S2Polygon extends java.lang.Object implements Serializable
-
Serialization Methods
-
readResolve
private java.lang.Object readResolve()
Returns the same instance after initializing transient fields.
-
-
Serialized Fields
-
bound
S2LatLngRect bound
bound
is a conservative bound on all points contained by this polygon: If A.contains(P), then A.bound.contains(new S2LatLng(P)). -
hasHoles
boolean hasHoles
True if this polygon has at least one hole. -
loops
java.util.List<S2Loop> loops
The loops of this polygon. There is no total ordering of the loops, but a nested loop always follows its containing loop, and all loops between parent and child are nested somewhere under the parent. -
numVertices
int numVertices
Total number of vertices in all loops. -
subregionBound
S2LatLngRect subregionBound
Since "bound" is not exact, it is possible that a polygon A contains another polygon B whose bounds are slightly larger. "subregionBound" has been expanded sufficiently to account for this error, i.e. if A.Contains(B), then A.subregionBound.contains(B.bound). -
unindexedContainsCalls
java.util.concurrent.atomic.AtomicInteger unindexedContainsCalls
In general we build the index the first time it is needed, but we make an exception for contains(S2Point) because this method has a simple brute force implementation that is relatively cheap. For this one method we keep track of the number of calls made and only build the index once enough calls have been made that we think an index would be worthwhile.
-
-
-
Class com.google.common.geometry.S2Polygon.Shape extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Class com.google.common.geometry.S2Polyline extends java.lang.Object implements Serializable
-
Serialized Fields
-
numVertices
int numVertices
-
vertices
S2Point[] vertices
-
-
-
Class com.google.common.geometry.S2RegionCoverer extends java.lang.Object implements Serializable
-
Serialized Fields
-
levelMod
int levelMod
-
maxCells
int maxCells
-
maxLevel
int maxLevel
-
minLevel
int minLevel
-
-
-
Class com.google.common.geometry.S2RegionIntersection extends java.lang.Object implements Serializable
-
Serialized Fields
-
regions
S2Region[] regions
-
-
-
Class com.google.common.geometry.S2RegionUnion extends java.lang.Object implements Serializable
-
Serialized Fields
-
regions
S2Region[] regions
-
-
-
Class com.google.common.geometry.S2Shape.ReferencePoint extends S2Point implements Serializable
-
Class com.google.common.geometry.S2ShapeIndex extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
cells
java.util.List<S2ShapeIndex.Cell> cells
Essentially a map from each non-overlapping cell id to the shapes that intersect that cell, clipped to include only the edges that intersect.Note that this field is updated lazily. Accessing the iterator is the most common way to construct the index.
-
isIndexFresh
boolean isIndexFresh
If true, the index is up to date. If false the index is updating or stale and requires an update. This is marked volatile to avoid memory consistency errors with this field, which allows us to avoid taking a lock when no update is required. -
options
S2ShapeIndex.Options options
The options supplied for this index. -
pendingInsertionsBegin
int pendingInsertionsBegin
The index of the first shape that has been queued for insertion but not processed yet. -
pendingRemovals
java.util.List<S2Shape> pendingRemovals
The shapes that have been queued for removal but not processed yet (not yet used.) -
shapes
java.util.List<S2Shape> shapes
Shapes currently in the index.
-
-
Class com.google.common.geometry.S2ShapeIndex.Cell extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Class com.google.common.geometry.S2ShapeIndex.Options extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
cellSizeToLongEdgeRatio
double cellSizeToLongEdgeRatio
-
maxEdgesPerCell
int maxEdgesPerCell
-
-
Class com.google.common.geometry.S2ShapeIndex.S2ClippedShape extends S2ShapeIndex.Cell implements Serializable
-
Serialized Fields
-
shape
S2Shape shape
If positive, this is the shape ID and the shape does not contain the center of the cell. Otherwise the shape ID is ~this.shapeId and the shape does contains the center of the cell. This is done to save memory, since this single bit of information can otherwise be padded out up to 4 or 8 additional bytes, depending on the fields in the subclass.
-
-
-