Uses of Class
com.google.common.geometry.S2Cap
-
Uses of S2Cap in com.google.common.geometry
Fields in com.google.common.geometry declared as S2CapMethods 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.(package private) static S2Cap
S2Cap.decode
(LittleEndianInput is) Returns a new S2Cap decoded from the given little endian input stream.static S2Cap
S2Cap.decode
(InputStream is) Returns a new S2Cap decoded from the given input stream.static S2Cap
S2Cap.empty()
Return an empty cap, i.e.static S2Cap
S2Cap.fromAxisAngle
(S2Point axis, S1Angle angle) Create a cap given its axis and the cap opening angle, i.e.static S2Cap
S2Cap.fromAxisArea
(S2Point axis, double area) Create a cap given its axis and its area in steradians.static S2Cap
S2Cap.fromAxisChord
(S2Point center, S1ChordAngle radius) Creates a cap where the radius is expressed as an S1ChordAngle.static S2Cap
S2Cap.fromAxisHeight
(S2Point axis, double height) Create a cap given its axis and the cap height, i.e.static S2Cap
S2Cap.full()
Return a full cap, i.e.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.(package private) boolean
S2Cap.approxEquals
(S2Cap other) (package private) boolean
S2Cap.approxEquals
(S2Cap other, double maxError) Returns true if the radian angle between axes of this and 'other' is at most 'maxError', and the chord distance radius between this and 'other' is at most 'maxError'.boolean
Return true if and only if this cap contains the given other cap (in a set containment sense, e.g.void
S2RegionCoverer.getFastCovering
(S2Cap cap, ArrayList<S2CellId> results) Like GetCovering(), except that this method is much faster and the coverings are not as tight.private static void
S2RegionCoverer.getRawFastCovering
(S2Cap cap, int maxCellsHint, List<S2CellId> covering) Compute a covering of the given cap.boolean
S2Cap.interiorIntersects
(S2Cap other) Return true if and only if the interior of this cap intersects the given other cap.