| Constructor and Description |
|---|
S2Cell(S2CellId id) |
S2Cell(S2LatLng ll) |
S2Cell(S2Point p) |
| Modifier and Type | Method and Description |
|---|---|
double |
approxArea() |
double |
averageArea() |
static double |
averageArea(int level) |
S2Region |
clone() |
boolean |
contains(S2Cell cell) |
boolean |
contains(S2Point p) |
boolean |
equals(Object that) |
double |
exactArea() |
int |
face() |
static S2Cell |
fromFacePosLevel(int face,
byte pos,
int level) |
S2Cap |
getCapBound() |
S2Point |
getCenter() |
S2Point |
getCenterRaw() |
R2Vector |
getCenterUV() |
S2Point |
getEdge(int k) |
S2Point |
getEdgeRaw(int k) |
S2LatLngRect |
getRectBound() |
S2Point |
getVertex(int k) |
S2Point |
getVertexRaw(int k) |
int |
hashCode() |
S2CellId |
id() |
boolean |
isLeaf() |
byte |
level() |
boolean |
mayIntersect(S2Cell cell) |
byte |
orientation() |
boolean |
subdivide(S2Cell[] children) |
String |
toString() |
public S2Cell(S2CellId id)
public S2Cell(S2Point p)
public S2Cell(S2LatLng ll)
public static S2Cell fromFacePosLevel(int face, byte pos, int level)
public S2CellId id()
public int face()
public byte level()
public byte orientation()
public boolean isLeaf()
public S2Point getVertex(int k)
public S2Point getVertexRaw(int k)
public S2Point getEdge(int k)
public S2Point getEdgeRaw(int k)
public boolean subdivide(S2Cell[] children)
public S2Point getCenter()
public S2Point getCenterRaw()
public R2Vector getCenterUV()
public static double averageArea(int level)
public double averageArea()
public double approxArea()
public double exactArea()
public S2Region clone()
public S2Cap getCapBound()
public S2LatLngRect getRectBound()
public boolean mayIntersect(S2Cell cell)
public boolean contains(S2Point p)
public boolean contains(S2Cell cell)
public String toString()
public int hashCode()
public boolean equals(Object that)
Copyright © 2017. All rights reserved.