Package com.google.common.geometry
Class S2ShapeIndex.ClippedEdge
- java.lang.Object
-
- com.google.common.geometry.S2ShapeIndex.ClippedEdge
-
- Enclosing class:
- S2ShapeIndex
private static class S2ShapeIndex.ClippedEdge extends java.lang.Object
ClippedEdge represents the portion of a FaceEdge that has been clipped to an S2Cell.
-
-
Field Summary
Fields Modifier and Type Field Description private R2Rect
bound
Bounding box for the clipped portion.private S2ShapeIndex.FaceEdge
orig
The original unclipped edge.
-
Constructor Summary
Constructors Modifier Constructor Description private
ClippedEdge()
-
-
-
Field Detail
-
orig
private S2ShapeIndex.FaceEdge orig
The original unclipped edge. This field is not final so we can reuse ClippedEdge instances in an object pool,S2ShapeIndex.EdgeAllocator
.
-
bound
private final R2Rect bound
Bounding box for the clipped portion.
-
-