Interface S2EdgeQuery.Edges

All Known Implementing Classes:
S2EdgeQuery.CrossingFilter, S2EdgeQuery.MergedEdges, S2EdgeQuery.ShapeEdges, S2EdgeQuery.SimpleEdges
Enclosing class:
S2EdgeQuery

public static interface S2EdgeQuery.Edges
An iterator over the sorted unique edge IDs of a shape that may intersect some query edge.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if there are no more edges.
    int
    Returns the next edge ID, or throws an exception if empty.
  • Method Details

    • nextEdge

      int nextEdge()
      Returns the next edge ID, or throws an exception if empty.
    • isEmpty

      boolean isEmpty()
      Returns true if there are no more edges.