Interface GeoComplexPolygon.CountingEdgeIterator

All Superinterfaces:
GeoComplexPolygon.EdgeIterator
All Known Implementing Classes:
GeoComplexPolygon.DualCrossingEdgeIterator, GeoComplexPolygon.FullLinearCrossingEdgeIterator, GeoComplexPolygon.SectorLinearCrossingEdgeIterator
Enclosing class:
GeoComplexPolygon

private static interface GeoComplexPolygon.CountingEdgeIterator extends GeoComplexPolygon.EdgeIterator
Iterator execution interface, for tree traversal, plus count retrieval. Pass an object implementing this interface into the traversal method of a tree, and each edge that matches will cause this object to be called.
  • Method Details

    • getCrossingCount

      int getCrossingCount()
      Returns:
      the number of edges that were crossed.
    • isOnEdge

      boolean isOnEdge()
      Returns:
      true if the endpoint was on an edge.