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.ObjectCircular Doubly-linked list used for polygon coordinates
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNode(org.apache.lucene.geo.Polygon polygon, int index, int vertexIndex)protectedNode(XTessellator.Node other)simple deep copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetLat()get the latitude valuedoublegetLon()get the longitude valuedoublegetX()get the x valuedoublegetY()get the y valuejava.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-