Uses of Class
com.google.common.geometry.S1Interval
-
-
Uses of S1Interval in com.google.common.geometry
Fields in com.google.common.geometry declared as S1Interval Modifier and Type Field Description protected S1IntervalS2LatLngRectBase. lngMethods in com.google.common.geometry that return S1Interval Modifier and Type Method Description S1IntervalS1Interval. addPoint(double p)Expands the interval by the minimum amount necessary so that it contains the pointp(an angle in the range [-Pi, Pi]).S1IntervalS1Interval. complement()Return the complement of the interior of the interval.static S1IntervalS1Interval. empty()S1IntervalS1Interval. expanded(double margin)Returns a new interval that has been expanded on each side by the distancemargin.static S1IntervalS1Interval. fromPoint(double radians)Convenience method to construct an interval containing a single point.static S1IntervalS1Interval. fromPointPair(double p1, double p2)Convenience method to construct the minimal interval containing the two given points.static S1IntervalS1Interval. full()static S1IntervalS2LatLngRect. fullLng()The full allowable range of longitudes.S1IntervalS1Interval. intersection(S1Interval y)Returns the smallest interval that contains the intersection of this interval withy.S1IntervalS2LatLngRect.Builder. lng()S1IntervalS2LatLngRect. lng()abstract S1IntervalS2LatLngRectBase. lng()Returns the longitude range of this rectangle.S1IntervalS1Interval. union(S1Interval y)Returns the smallest interval that contains this interval and the intervaly.Methods in com.google.common.geometry with parameters of type S1Interval Modifier and Type Method Description booleanS1Interval. approxEquals(S1Interval y)AsapproxEquals(S1Interval, double), with a default maxError of 1e-15.booleanS1Interval. approxEquals(S1Interval y, double maxError)Returns true if this interval can be transformed into the intervalyby moving each endpoint by at most "maxError" (and without the endpoints crossing, which would invert the interval).booleanS1Interval. contains(S1Interval y)Returns true if the interval contains the intervaly.doubleS1Interval. getDirectedHausdorffDistance(S1Interval y)Return the Hausdorff distance to the given intervaly.booleanS1Interval. interiorContains(S1Interval y)Returns true if the interior of this interval contains the entire interval 'y'.booleanS1Interval. interiorIntersects(S1Interval y)Returns true if the interior of this interval contains any point of the intervaly(including its boundary).S1IntervalS1Interval. intersection(S1Interval y)Returns the smallest interval that contains the intersection of this interval withy.booleanS1Interval. intersects(S1Interval y)Returns true if the two intervals contain any points in common.static booleanS2LatLngRectBase. intersectsLatEdge(S2Point a, S2Point b, double lat, S1Interval lng)Returns true if the edge AB intersects the given edge of constant latitude.S1IntervalS1Interval. union(S1Interval y)Returns the smallest interval that contains this interval and the intervaly.Constructors in com.google.common.geometry with parameters of type S1Interval Constructor Description Builder(R1Interval lat, S1Interval lng)LongitudePruner(S1Interval interval, S2Point v0)'interval' is the longitude interval to be tested against, and 'v0' is the first vertex of edge chain.S1Interval(S1Interval interval)Copy constructor.S2LatLngRect(R1Interval lat, S1Interval lng)Constructs a rectangle from latitude and longitude intervals.
-