Package com.google.common.geometry
Class S2EdgeQuery.ShapeEdges
- java.lang.Object
-
- com.google.common.geometry.S2EdgeQuery.ShapeEdges
-
- All Implemented Interfaces:
S2EdgeQuery.Edges
- Enclosing class:
- S2EdgeQuery
public static final class S2EdgeQuery.ShapeEdges extends Object implements S2EdgeQuery.Edges
AnEdgesthat contains all the edges of a shape with the given number of edges.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEmpty()Returns true if there are no more edges.intnextEdge()Returns the next edge ID, or throws an exception if empty.
-
-
-
Method Detail
-
nextEdge
public int nextEdge()
Description copied from interface:S2EdgeQuery.EdgesReturns the next edge ID, or throws an exception if empty.- Specified by:
nextEdgein interfaceS2EdgeQuery.Edges
-
isEmpty
public boolean isEmpty()
Description copied from interface:S2EdgeQuery.EdgesReturns true if there are no more edges.- Specified by:
isEmptyin interfaceS2EdgeQuery.Edges
-
-