Package com.google.common.geometry
Class S2Polygon.S2PolygonIndex
- java.lang.Object
-
- com.google.common.geometry.S2EdgeIndex
-
- com.google.common.geometry.S2Polygon.S2PolygonIndex
-
- Enclosing class:
- S2Polygon
public static final class S2Polygon.S2PolygonIndex extends S2EdgeIndex
Indexing structure for anS2Polygon.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.common.geometry.S2EdgeIndex
S2EdgeIndex.DataEdgeIterator
-
-
Constructor Summary
Constructors Constructor Description S2PolygonIndex(S2Polygon poly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S2EdgeedgeFromTo(int index)Mark theedgeFromTo(int)method abstract again, so children of this class must implement it without usingedgeFrom(int)andedgeTo(int).-
Methods inherited from class com.google.common.geometry.S2EdgeIndex
clipEdge, computeIndex, findCandidateCrossings, incrementQueryCount, isIndexComputed, predictAdditionalCalls, reset
-
-
-
-
Constructor Detail
-
S2PolygonIndex
public S2PolygonIndex(S2Polygon poly)
-
-
Method Detail
-
edgeFromTo
public S2Edge edgeFromTo(int index)
Mark theedgeFromTo(int)method abstract again, so children of this class must implement it without usingedgeFrom(int)andedgeTo(int).
-
-