Interface S2EdgeQuery.Edges

  • All Known Implementing Classes:
    S2EdgeQuery.ShapeEdges
    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 Detail

      • 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.