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