protected static class Tessellator.Node extends Object
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 |
---|---|
int |
compare(double aX,
double aY,
double bX,
double bY) |
int |
compareLat(Tessellator.Node other)
compare nodes by y then x
|
double |
getLat()
get the latitude value
|
double |
getLon()
get the longitude value
|
double |
getX()
get the x value
|
double |
getY()
get the y value
|
String |
toString() |
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 int compareLat(Tessellator.Node other)
public int compare(double aX, double aY, double bX, double bY)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.