| Constructor and Description |
|---|
S2Polyline(List<S2Point> vertices) |
S2Polyline(S2Polyline src) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(S2Cell cell) |
boolean |
equals(Object that) |
S1Angle |
getArclengthAngle() |
S2Cap |
getCapBound() |
int |
getNearestEdgeIndex(S2Point point) |
S2LatLngRect |
getRectBound() |
int |
hashCode() |
S2Point |
interpolate(double fraction) |
static boolean |
isValid(List<S2Point> vertices) |
boolean |
mayIntersect(S2Cell cell) |
int |
numVertices() |
S2Point |
projectToEdge(S2Point point,
int index) |
S2Point |
vertex(int k) |
public S2Polyline(S2Polyline src)
public int numVertices()
public S2Point vertex(int k)
public S1Angle getArclengthAngle()
public S2Point interpolate(double fraction)
public S2Cap getCapBound()
public S2LatLngRect getRectBound()
public boolean contains(S2Cell cell)
public boolean mayIntersect(S2Cell cell)
public int getNearestEdgeIndex(S2Point point)
public boolean equals(Object that)
public int hashCode()
Copyright © 2017. All rights reserved.