Class S2ShapeMeasures.LoopOrder

java.lang.Object
com.google.common.geometry.S2ShapeMeasures.LoopOrder
Enclosing class:
S2ShapeMeasures

static class S2ShapeMeasures.LoopOrder extends Object
Represents a cyclic ordering of the loop vertices, starting at the index "first" and proceeding in direction "dir" (either +1 or -1). "first" and "dir" must be chosen such that (first, ..., first + n * dir) are all in the range [0, 2*n-1].
  • Field Details

    • first

      final int first
    • dir

      final int dir
  • Constructor Details

    • LoopOrder

      LoopOrder(int first, int dir)
  • Method Details