Example usage for Java com.google.common.geometry S2Loop fields, constructors, methods, implement or subclass
The text is from its open source code.
int | numVertices |
S2Loop(final List Initialize a loop connecting the given vertices. | |
S2Loop(S2Cell cell) Initialize a loop corresponding to the given cell. | |
S2Loop(S2Loop src) Copy constructor. |
boolean | isValid() Return true if this loop is valid. |
void | normalize() Invert the loop if necessary so that the area enclosed by the loop is at most 2*Pi. |
S2Point | vertex(int i) For convenience, we make two entire copies of the vertex list available: vertex(n..2*n-1) is mapped to vertex(0..n-1), where n == numVertices(). |