protected static class Tessellator.Node
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
idx |
private boolean |
isSteiner |
private long |
morton |
private Tessellator.Node |
next |
private Tessellator.Node |
nextZ |
private Polygon |
polygon |
private Tessellator.Node |
previous |
private Tessellator.Node |
previousZ |
private int |
vrtxIdx |
private int |
x |
private int |
y |
Modifier | Constructor and Description |
---|---|
protected |
Node(Polygon polygon,
int index,
int vertexIndex) |
protected |
Node(Tessellator.Node other)
simple deep copy constructor
|
Modifier and Type | Method and Description |
---|---|
double |
getLat()
get the latitude value
|
double |
getLon()
get the longitude value
|
double |
getX()
get the x value
|
double |
getY()
get the y value
|
java.lang.String |
toString() |
private final int idx
private final int vrtxIdx
private final Polygon polygon
private final int x
private final int y
private final long morton
private Tessellator.Node previous
private Tessellator.Node next
private Tessellator.Node previousZ
private Tessellator.Node nextZ
private boolean isSteiner
protected Node(Polygon polygon, int index, int vertexIndex)
protected Node(Tessellator.Node other)
public final double getX()
public final double getY()
public final double getLon()
public final double getLat()
public java.lang.String toString()
toString
in class java.lang.Object