Class Tessellator.Node

java.lang.Object
org.apache.lucene.geo.Tessellator.Node
Enclosing class:
Tessellator

static class Tessellator.Node extends Object
Circular Doubly-linked list used for polygon coordinates
  • Field Details

    • idx

      private final int idx
    • vrtxIdx

      private final int vrtxIdx
    • polyX

      private final double[] polyX
    • polyY

      private final double[] polyY
    • x

      private final int x
    • y

      private final int y
    • morton

      private final long morton
    • previous

    • next

    • previousZ

      private Tessellator.Node previousZ
    • nextZ

      private Tessellator.Node nextZ
    • isNextEdgeFromPolygon

      private boolean isNextEdgeFromPolygon
  • Constructor Details

    • Node

      Node(double[] x, double[] y, int index, int vertexIndex, boolean isGeo)
    • Node

      protected Node(Tessellator.Node other)
      simple deep copy constructor
  • Method Details

    • getX

      public final double getX()
      get the x value
    • getY

      public final double getY()
      get the y value
    • toString

      public String toString()
      Overrides:
      toString in class Object