S2LatLngRect |
S2LatLngRect.addPoint(S2LatLng ll) |
Returns a new rectangle that includes this rectangle and the given S2LatLng, expanding this
rectangle to include the point by the minimum amount possible.
|
S2LatLngRect |
S2LatLngRect.addPoint(S2Point p) |
Returns a new rectangle that includes this rectangle and the given point, expanding this
rectangle to include the point by the minimum amount possible.
|
S2LatLngRect |
S2LatLngRect.Builder.build() |
Returns a new immutable S2LatLngRect copied from the current state of this builder.
|
S2LatLngRect |
S2LatLngRect.convolveWithCap(S1Angle angle) |
Returns a rectangle that contains the convolution of this rectangle with a cap of the given
angle.
|
(package private) static S2LatLngRect |
S2LatLngRect.decode(LittleEndianInput decoder) |
|
static S2LatLngRect |
S2LatLngRect.decode(java.io.InputStream input) |
|
static S2LatLngRect |
S2LatLngRect.empty() |
The canonical empty rectangle, as derived from the empty R1 and S1 intervals.
|
S2LatLngRect |
S2LatLngRect.expanded(S2LatLng margin) |
Returns a rectangle that contains all points whose latitude distance from this rectangle is at
most margin.lat(), and whose longitude distance from this rectangle is at most margin.lng().
|
S2LatLngRect |
S2LatLngRect.expandedByDistance(S1Angle distance) |
Expands this rectangle so that it contains all points within the given distance of the
boundary, and return the smallest such rectangle.
|
(package private) static S2LatLngRect |
S2EdgeUtil.RectBounder.expandForSubregions(S2LatLngRect bound) |
Expand a bound returned by getBound() so that it is guaranteed to contain the bounds of any
subregion whose bounds are computed using this class.
|
static S2LatLngRect |
S2LatLngRect.fromCenterSize(S2LatLng center,
S2LatLng size) |
Constructs a rectangle of the given size centered around the given point.
|
static S2LatLngRect |
S2LatLngRect.fromEdge(S2Point a,
S2Point b) |
Returns a latitude-longitude rectangle that contains the edge from "a" to "b".
|
static S2LatLngRect |
S2LatLngRect.fromPoint(S2LatLng p) |
Convenience method to construct a rectangle containing a single point.
|
static S2LatLngRect |
S2LatLngRect.fromPointPair(S2LatLng p1,
S2LatLng p2) |
Convenience method to construct the minimal bounding rectangle containing the two given
normalized points.
|
static S2LatLngRect |
S2LatLngRect.full() |
The canonical full rectangle.
|
S2LatLngRect |
S2EdgeUtil.RectBounder.getBound() |
Returns the bounding rectangle of the edge chain that connects the vertices defined so far.
|
S2LatLngRect |
S2Cap.getRectBound() |
|
S2LatLngRect |
S2Cell.getRectBound() |
|
S2LatLngRect |
S2CellUnion.getRectBound() |
|
S2LatLngRect |
S2LatLngRect.Builder.getRectBound() |
|
S2LatLngRect |
S2LatLngRect.getRectBound() |
|
S2LatLngRect |
S2Loop.getRectBound() |
Returns a fairly tight bounding latitude-longitude rectangle.
|
S2LatLngRect |
S2Point.getRectBound() |
|
S2LatLngRect |
S2PointRegion.getRectBound() |
|
S2LatLngRect |
S2Polygon.getRectBound() |
Returns a fairly tight bounding latitude-longitude rectangle.
|
S2LatLngRect |
S2Polyline.getRectBound() |
Return a bounding latitude-longitude rectangle.
|
S2LatLngRect |
S2Region.getRectBound() |
Return a bounding latitude-longitude rectangle.
|
S2LatLngRect |
S2RegionIntersection.getRectBound() |
|
S2LatLngRect |
S2RegionUnion.getRectBound() |
|
S2LatLngRect |
S2ShapeIndexRegion.getRectBound() |
|
S2LatLngRect |
S2Loop.getSubregionBound() |
Returns a slightly looser bounding latitude-longitude rectangle than that returned by S2Loop.getRectBound() .
|
S2LatLngRect |
S2LatLngRect.intersection(S2LatLngRectBase other) |
Returns the smallest rectangle containing the intersection of this rectangle and the given
rectangle.
|
static S2LatLngRect |
S2TextFormat.makeLatLngRect(java.lang.String str) |
As above, but does not CHECK-fail on invalid input.
|
(package private) S2LatLngRect |
S2TextFormat.makeLatLngRectOrDie(java.lang.String str) |
Given a string in the same format as ParseLatLngs, returns the minimal bounding S2LatLngRect
that contains the coordinates.
|
S2LatLngRect |
S2LatLngRect.polarClosure() |
If the rectangle does not include either pole, return it unmodified.
|
S2LatLngRect |
S2LatLngRect.union(S2LatLngRectBase other) |
Returns the smallest rectangle containing the union of this rectangle and the given rectangle.
|