Package org.apache.lucene.geo
Class XTessellator.Node
- java.lang.Object
-
- org.apache.lucene.geo.XTessellator.Node
-
- Enclosing class:
- XTessellator
protected static class XTessellator.Node extends java.lang.Object
Circular Doubly-linked list used for polygon coordinates
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Node(org.apache.lucene.geo.Polygon polygon, int index, int vertexIndex)
protected
Node(XTessellator.Node other)
simple deep copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getLat()
get the latitude valuedouble
getLon()
get the longitude valuedouble
getX()
get the x valuedouble
getY()
get the y valuejava.lang.String
toString()
-
-
-
Constructor Detail
-
Node
protected Node(org.apache.lucene.geo.Polygon polygon, int index, int vertexIndex)
-
Node
protected Node(XTessellator.Node other)
simple deep copy constructor
-
-
Method Detail
-
getX
public final double getX()
get the x value
-
getY
public final double getY()
get the y value
-
getLon
public final double getLon()
get the longitude value
-
getLat
public final double getLat()
get the latitude value
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-