JavaScript is disabled on your browser.
S2EdgeUtil.RectBounder. lngAB
Temporary storage for the longitude range spanned by AB.
Expands the interval by the minimum amount necessary so that it contains the point p
(an angle in the range [-Pi, Pi]).
Return the complement of the interior of the interval.
Returns a new interval that has been expanded on each side by the distance margin.
Convenience method to construct an interval containing a single point.
Convenience method to construct the minimal interval containing the two given points.
The full allowable range of longitudes.
Returns the smallest interval that contains the intersection of this interval with y.
S2LatLngRect.Builder. lng ()
Returns the longitude range of this rectangle.
Returns the smallest interval that contains this interval and the interval y.
boolean
boolean
Returns true if this interval can be transformed into the interval y by moving each
endpoint by at most "maxError" (and without the endpoints crossing, which would invert the
interval).
boolean
Returns true if the interval contains the interval y.
double
Return the Hausdorff distance to the given interval y.
boolean
Returns true if the interior of this interval contains the entire interval 'y'.
boolean
Returns true if the interior of this interval contains any point of the interval y
(including its boundary).
Returns the smallest interval that contains the intersection of this interval with y.
(package private) void
Sets this interval to the intersection of the current interval and y.
boolean
Returns true if the two intervals contain any points in common.
static final boolean
Returns true if the edge AB intersects the given edge of constant latitude.
Returns the smallest interval that contains this interval and the interval y.
(package private) void
Sets this interval to the union of the current interval and y.
'interval' is the longitude interval to be tested against, and 'v0' is the first vertex of
edge chain.
Constructs a rectangle from latitude and longitude intervals.
(package private)
Constructs a rectangle from latitude and longitude intervals.