Uses of Class
com.google.common.geometry.S2ShapeIndex.InteriorTracker
-
-
Uses of S2ShapeIndex.InteriorTracker in com.google.common.geometry
Methods in com.google.common.geometry with parameters of type S2ShapeIndex.InteriorTracker Modifier and Type Method Description private void
S2ShapeIndex. addShapeEdges(int shapeId, java.util.List<java.util.List<S2ShapeIndex.FaceEdge>> allEdges, S2ShapeIndex.InteriorTracker tracker)
Clips all edges of the given shape to the six cube faces, and adds the clipped edges toallEdges
.(package private) boolean
S2ShapeIndex. makeIndexCell(S2PaddedCell pcell, java.util.List<S2ShapeIndex.ClippedEdge> edges, S2ShapeIndex.InteriorTracker tracker)
Given a cell and a set of ClippedEdges whose bounding boxes intersect that cell, insert or remove all the edges from the index.private void
S2ShapeIndex. skipCellRange(S2CellId begin, S2CellId end, S2ShapeIndex.InteriorTracker tracker, S2ShapeIndex.EdgeAllocator alloc)
Skips over the cells in the given range, creating index cells if we are currently in the interior of at least one shape.private void
S2ShapeIndex. updateEdges(S2PaddedCell pcell, java.util.List<S2ShapeIndex.ClippedEdge> edges, S2ShapeIndex.InteriorTracker tracker, S2ShapeIndex.EdgeAllocator alloc)
private void
S2ShapeIndex. updateFaceEdges(int face, java.util.List<S2ShapeIndex.FaceEdge> faceEdges, S2ShapeIndex.InteriorTracker tracker)
Given a face and a list of edges that intersect that face, insert or remove all the edges from the index.
-