Class TessJNI

java.lang.Object
org.oscim.utils.TessJNI

public class TessJNI extends Object
  • Constructor Details

    • TessJNI

      public TessJNI()
    • TessJNI

      public TessJNI(int bucketSize)
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • dispose

      public void dispose()
    • instance

      protected long instance()
    • addContour2D

      public void addContour2D(float[] points)
    • addContour2D

      public void addContour2D(float[] points, int offset, int length)
    • addContour2D

      public void addContour2D(int[] index, float[] contour)
    • addContour2D

      public void addContour2D(int[] index, float[] contour, int idxStart, int idxEnd)
    • tesselate

      public boolean tesselate()
    • tesselate

      public boolean tesselate(int windingRule, int elementType)
    • getVertexCount

      public int getVertexCount()
    • getElementCount

      public int getElementCount()
    • getVertices

      public void getVertices(float[] out, int offset, int length)
    • getVertices

      public void getVertices(short[] out, int offset, int length, float scale)
    • getElements

      public void getElements(int[] out, int offset, int length)
    • getElements

      public void getElements(short[] out, int offset, int length)
    • getVertexIndices

      public void getVertexIndices(int[] out, int offset, int length)
    • getElementsWithInputVertexIds

      public void getElementsWithInputVertexIds(short[] dst, int dstOffset, int offset, int length)