Class Tessellator.Node

  • Enclosing class:
    Tessellator

    protected static class Tessellator.Node
    extends java.lang.Object
    Circular Doubly-linked list used for polygon coordinates
    • 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
      • isNextEdgeFromPolygon

        private boolean isNextEdgeFromPolygon
    • Constructor Detail

      • Node

        protected Node​(double[] x,
                       double[] y,
                       int index,
                       int vertexIndex,
                       boolean isGeo)
    • Method Detail

      • getX

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object