Package org.apache.lucene.geo
Class Tessellator.Node
- java.lang.Object
-
- org.apache.lucene.geo.Tessellator.Node
-
- Enclosing class:
- Tessellator
protected static class Tessellator.Node extends java.lang.Object
Circular Doubly-linked list used for polygon coordinates
-
-
Field Summary
Fields Modifier and Type Field Description private int
idx
private boolean
isNextEdgeFromPolygon
private long
morton
private Tessellator.Node
next
private Tessellator.Node
nextZ
private double[]
polyX
private double[]
polyY
private Tessellator.Node
previous
private Tessellator.Node
previousZ
private int
vrtxIdx
private int
x
private int
y
-
Constructor Summary
Constructors Modifier Constructor Description protected
Node(double[] x, double[] y, int index, int vertexIndex, boolean isGeo)
protected
Node(Tessellator.Node other)
simple deep copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getX()
get the x valuedouble
getY()
get the y valuejava.lang.String
toString()
-
-
-
Field Detail
-
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
private Tessellator.Node previous
-
next
private Tessellator.Node next
-
previousZ
private Tessellator.Node previousZ
-
nextZ
private Tessellator.Node nextZ
-
isNextEdgeFromPolygon
private boolean isNextEdgeFromPolygon
-
-
Constructor Detail
-
Node
protected Node(double[] x, double[] y, int index, int vertexIndex, boolean isGeo)
-
Node
protected Node(Tessellator.Node other)
simple deep copy constructor
-
-