S2LatLngRect.Builder |
S2LatLngRect.Builder.addPoint(S2LatLng ll) |
Increases the size of the bounding rectangle to include the given point.
|
S2LatLngRect.Builder |
S2LatLngRect.Builder.addPoint(S2Point p) |
|
S2LatLngRect.Builder |
S2LatLngRect.Builder.convolveWithCap(S1Angle angle) |
Mutates the current rectangle to contain the convolution of this rectangle with a cap of the
given angle.
|
static S2LatLngRect.Builder |
S2LatLngRect.Builder.empty() |
A builder initialized to be empty (such that it doesn't contain anything).
|
S2LatLngRect.Builder |
S2LatLngRect.Builder.expanded(S2LatLng margin) |
Mutates the rectangle to contain 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.Builder |
S2LatLngRect.Builder.intersection(S2LatLngRect other) |
Mutates this rectangle to be the smallest rectangle containing the intersection of the
current and given rectangles.
|
S2LatLngRect.Builder |
S2LatLngRect.Builder.polarClosure() |
If the rectangle does not include either pole, leave it unmodified.
|
S2LatLngRect.Builder |
S2LatLngRect.Builder.setFull() |
Sets the rectangle to the full rectangle.
|
S2LatLngRect.Builder |
S2LatLngRect.toBuilder() |
|
S2LatLngRect.Builder |
S2LatLngRect.Builder.union(S2LatLngRect other) |
Mutates this rectangle to be the smallest rectangle containing the union of the current and
given rectangles.
|