-
final class
S2LatLngRect represents a latitude-longitude rectangle.
static final class
This class is a builder for S2LatLngRect instances.
final boolean
Returns true if this rectangle is very nearly identical to the given other rectangle.
final boolean
Returns true if the latitude and longitude intervals of the two rectangles are the same up to
the given tolerance.
final boolean
final boolean
Returns true if and only if the rectangle contains the given other rectangle.
Returns the directed Hausdorff distance (measured along the surface of the sphere) to the given
S2LatLngRect.
Returns the minimum distance (measured along the surface of the sphere) to the given
S2LatLngRectBase.
Returns the undirected Hausdorff distance (measured along the surface of the sphere) to the
given S2LatLngRect.
final boolean
Returns true if and only if the interior of this rectangle contains all points of the given
other rectangle (including its boundary).
final boolean
Returns true if and only if the interior of this rectangle intersects any point (including the
boundary) of the given other rectangle.
Returns the smallest rectangle containing the intersection of this rectangle and the given
rectangle.
final boolean
Returns true if this rectangle and the given other rectangle have any points in common.
Returns the smallest rectangle containing the union of this rectangle and the given rectangle.
Creates a new S2LatLngRect.Builder as a copy of b
.
Creates a new S2LatLngRect as a copy of b
.