Java com.google.common.geometry S2Loop fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.geometry S2Loop fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.geometry S2Loop.

The text is from its open source code.

Field

Constructor

S2Loop(final List vertices)
Initialize a loop connecting the given vertices.
S2Loop(S2Cell cell)
Initialize a loop corresponding to the given cell.
S2Loop(S2Loop src)
Copy constructor.

Method

booleanisValid()
Return true if this loop is valid.
voidnormalize()
Invert the loop if necessary so that the area enclosed by the loop is at most 2*Pi.
S2Pointvertex(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().