Class 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 value
      double getLon()
      get the longitude value
      double getX()
      get the x value
      double getY()
      get the y value
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Node

        protected Node​(org.apache.lucene.geo.Polygon polygon,
                       int index,
                       int vertexIndex)
    • 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 class java.lang.Object