Uses of Class
com.google.common.geometry.S2ShapeIndex.S2ClippedShape
-
-
Uses of S2ShapeIndex.S2ClippedShape in com.google.common.geometry
Subclasses of S2ShapeIndex.S2ClippedShape in com.google.common.geometry Modifier and Type Class Description private static classS2ShapeIndex.S2ClippedShape.ContainedAn S2ClippedShape for a shape that completely contains the cell (no edge intersections and containsCenter is true.)private static classS2ShapeIndex.S2ClippedShape.EdgeRangeAn S2ClippedShape containing a single range of contiguous edge IDs.private static classS2ShapeIndex.S2ClippedShape.ManyEdgesAn S2ClippedShape that contains the non-contiguous edges fromstarttoendinedges.private static classS2ShapeIndex.S2ClippedShape.OneEdgeAn S2ClippedShape that contains a single edge from a given shape.Fields in com.google.common.geometry declared as S2ShapeIndex.S2ClippedShape Modifier and Type Field Description private S2ShapeIndex.S2ClippedShape[]S2ShapeIndexCoder.EncodedS2ShapeIndex.LazyCell. cachedClippedShapes(package private) S2ShapeIndex.S2ClippedShapeS2EdgeQuery.Stepper. clippedprivate S2ShapeIndex.S2ClippedShapeS2ShapeIndex.RangeIterator. clippedprivate S2ShapeIndex.S2ClippedShape[]S2ShapeIndex.Cell.MultiCell. clippedShapes(package private) S2ShapeIndex.S2ClippedShapeS2EdgeQuery.SimpleEdges. shapeprivate S2ShapeIndex.S2ClippedShapeS2ShapeIndex.Cell.BinaryCell. shape1private S2ShapeIndex.S2ClippedShapeS2ShapeIndex.Cell.BinaryCell. shape2private S2ShapeIndex.S2ClippedShape[]S2ShapeIndex.InteriorTracker. tempClippedShapesA temporary array in which to accumulate the clipped shapes for each cell.Methods in com.google.common.geometry that return S2ShapeIndex.S2ClippedShape Modifier and Type Method Description S2ShapeIndex.S2ClippedShapeS2ShapeIndex.Cell.BinaryCell. clipped(int i)abstract S2ShapeIndex.S2ClippedShapeS2ShapeIndex.Cell. clipped(int i)Returns the clipped shape at the given index.S2ShapeIndex.S2ClippedShapeS2ShapeIndex.Cell.MultiCell. clipped(int i)S2ShapeIndex.S2ClippedShapeS2ShapeIndex.RangeIterator. clipped()Various other convenience methods for the current cell.S2ShapeIndex.S2ClippedShapeS2ShapeIndex.S2ClippedShape. clipped(int i)For implementing the Cell interface, this class contains just 1 shape (itself.)S2ShapeIndex.S2ClippedShapeS2ShapeIndexCoder.EncodedS2ShapeIndex.LazyCell. clipped(int i)(package private) static S2ShapeIndex.S2ClippedShapeS2ShapeIndex.S2ClippedShape. create(S2CellId cellId, S2Shape shape, boolean containsCenter, int[] edges)(package private) static S2ShapeIndex.S2ClippedShapeS2ShapeIndex.S2ClippedShape. create(S2CellId cellId, S2Shape shape, boolean containsCenter, int offset, int count)(package private) static S2ShapeIndex.S2ClippedShapeS2ShapeIndex.S2ClippedShape. create(S2CellId cellId, S2Shape shape, boolean containsCenter, java.util.List<S2ShapeIndex.ClippedEdge> edges, int start, int end)private static S2ShapeIndex.S2ClippedShape[]S2ShapeIndexCoder. decodeClippedShapes(java.util.List<S2Shape> shapes, PrimitiveArrays.Bytes data, PrimitiveArrays.Cursor cursor)(package private) S2ShapeIndex.S2ClippedShapeS2ShapeIndex.Cell. findClipped(S2Shape shape)Returns the clipped shape corresponding to the given shape ID, or null if the shape does not intersect this cell.private S2ShapeIndex.S2ClippedShape[]S2ShapeIndexCoder.EncodedS2ShapeIndex.LazyCell. loadClippedShapesFromCache()ReturnsS2ShapeIndexCoder.EncodedS2ShapeIndex.LazyCell.cachedClippedShapesif it's already cached.Methods in com.google.common.geometry with parameters of type S2ShapeIndex.S2ClippedShape Modifier and Type Method Description voidS2EdgeQuery.MergedEdges. add(S2ShapeIndex.S2ClippedShape shape)Note:shapeshould have at least one edge.private booleanS2ShapeIndexRegion. anyEdgeIntersects(S2ShapeIndex.S2ClippedShape clipped, S2Cell target)Returns true if any edge of the indexed shape "clipped" intersects the cell "target".private booleanS2Loop.LoopCrosser. cellCrossesAnySubcell(S2ShapeIndex.S2ClippedShape aClipped, S2CellId bId)Given an index cell of A, returns true if there are any edge or wedge crossings with any index cell of B contained withinbId.booleanS2Loop.LoopCrosser. cellCrossesCell(S2ShapeIndex.S2ClippedShape aClipped, S2ShapeIndex.S2ClippedShape bClipped)Given two index cells, returns true if there are any edge crossings or wedge crossings within those cells.(package private) static S2ShapeIndex.CellS2ShapeIndex.Cell. create(int size, S2ShapeIndex.S2ClippedShape[] tempClippedShapes)Returns a Cell with a copy of the given shapes, specialized for the number of elements.private booleanS2Loop.LoopCrosser. edgeCrossesCell(S2ShapeIndex.S2ClippedShape bClipped)Checks the current edge of loop A for crossings with all edges of the given index cell of loop B.private static voidS2ShapeIndexCoder. encodeEdges(S2ShapeIndex.S2ClippedShape clipped, java.io.OutputStream output)Encodes the edge IDs of the givenS2ShapeIndex.S2ClippedShape.static booleanS2ShapeUtil. equals(S2ShapeIndex.S2ClippedShape a, S2ShapeIndex.S2ClippedShape b)Returns true if the clipped shapes 'a' and 'b' have identical edge offsets.(package private) static booleanS2ShapeUtil. findSelfIntersection(S2ShapeIndex.S2ClippedShape aClipped, S2Loop aLoop, S2Error error)Test for crossings between all edge pairs that do not share a vertex.booleanS2ContainsPointQuery.S2VertexModel. shapeContains(S2Point cellCenter, S2ShapeIndex.S2ClippedShape clipped, S2Point p)Returns true if the clipped portion of a shape 'clipped' from a cell with center 'cellCenter' contains the point 'p' according to this vertex model.Constructors in com.google.common.geometry with parameters of type S2ShapeIndex.S2ClippedShape Constructor Description BinaryCell(S2ShapeIndex.S2ClippedShape shape1, S2ShapeIndex.S2ClippedShape shape2)MultiCell(S2ShapeIndex.S2ClippedShape[] shapes)SimpleEdges(S2ShapeIndex.S2ClippedShape shape)Stepper(S2ShapeIndex.S2ClippedShape shape)
-