Package org.oscim.utils
Class TessJNI
- java.lang.Object
-
- org.oscim.utils.TessJNI
-
public class TessJNI extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddContour2D(float[] points)voidaddContour2D(float[] points, int offset, int length)voidaddContour2D(int[] index, float[] contour)voidaddContour2D(int[] index, float[] contour, int idxStart, int idxEnd)voiddispose()intgetElementCount()voidgetElements(int[] out, int offset, int length)voidgetElements(short[] out, int offset, int length)voidgetElementsWithInputVertexIds(short[] dst, int dstOffset, int offset, int length)intgetVertexCount()voidgetVertexIndices(int[] out, int offset, int length)voidgetVertices(float[] out, int offset, int length)voidgetVertices(short[] out, int offset, int length, float scale)booleantesselate()booleantesselate(int windingRule, int elementType)
-
-
-
Method Detail
-
dispose
public void dispose()
-
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)
-
-