Package com.google.common.geometry
Class S2ShapeMeasures.LoopOrder
- java.lang.Object
-
- com.google.common.geometry.S2ShapeMeasures.LoopOrder
-
- Enclosing class:
- S2ShapeMeasures
static class S2ShapeMeasures.LoopOrder extends java.lang.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].
-
-
Constructor Summary
Constructors Constructor Description LoopOrder(int first, int dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
(package private) boolean
equalsLoopOrder(S2ShapeMeasures.LoopOrder other)
int
hashCode()
-
-
-
Method Detail
-
equalsLoopOrder
boolean equalsLoopOrder(S2ShapeMeasures.LoopOrder other)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-