Uses of Class
com.google.common.geometry.S2Cap
-
Uses of S2Cap in com.google.common.geometry
Methods in com.google.common.geometry that return S2CapModifier and TypeMethodDescriptionIncrease the cap radius if necessary to include the given cap.Increase the cap radius if necessary to include the given point.S2Cap.complement()Return the complement of the interior of the cap.static S2CapS2Cap.decode(InputStream is) Returns a new S2Cap decoded from the given input stream.static S2CapS2Cap.empty()Return an empty cap, i.e. a cap that contains no points.static S2CapS2Cap.fromAxisAngle(S2Point axis, S1Angle angle) Create a cap given its axis and the cap opening angle, i.e. maximum angle between the axis and a point on the cap.static S2CapS2Cap.fromAxisArea(S2Point axis, double area) Create a cap given its axis and its area in steradians.static S2CapS2Cap.fromAxisChord(S2Point center, S1ChordAngle radius) Creates a cap where the radius is expressed as an S1ChordAngle.static S2CapS2Cap.fromAxisHeight(S2Point axis, double height) Create a cap given its axis and the cap height, i.e. the maximum projected distance along the cap axis from the cap center.static S2CapS2Cap.full()Return a full cap, i.e. a cap that contains all points.S2Cap.getCapBound()S2Cell.getCapBound()S2CellUnion.getCapBound()S2ConvexHullQuery.getCapBound()Computes a bounding cap for the input geometry provided.S2LatLngRectBase.getCapBound()S2Loop.getCapBound()Returns a spherical cap that bounds this loop.S2Point.getCapBound()S2PointRegion.getCapBound()S2Polygon.getCapBound()Returns a spherical cap that bounds this loop.S2Polyline.getCapBound()Return a bounding spherical cap.S2Region.getCapBound()Return a bounding spherical cap.S2RegionIntersection.getCapBound()S2RegionUnion.getCapBound()S2ShapeIndexRegion.getCapBound()Methods in com.google.common.geometry with parameters of type S2CapModifier and TypeMethodDescriptionIncrease the cap radius if necessary to include the given cap.booleanReturn true if and only if this cap contains the given other cap (in a set containment sense, e.g. every cap contains the empty cap).voidS2RegionCoverer.getFastCovering(S2Cap cap, ArrayList<S2CellId> results) Like GetCovering(), except that this method is much faster and the coverings are not as tight.booleanS2Cap.interiorIntersects(S2Cap other) Return true if and only if the interior of this cap intersects the given other cap.