Package org.bytedeco.leptonica
Class PTA
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.PTA
- All Implemented Interfaces:
AutoCloseable
Array of points
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPointer
(long i) int
n()
actual number of ptsn
(int setter) int
nalloc()
size of allocated arraysnalloc
(int setter) position
(long position) int
refcount()
reference count (1 if no clones)refcount
(int setter) x()
arrays of floatsx
(FloatPointer setter) y()
y
(FloatPointer setter) Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
Constructor Details
-
PTA
public PTA()Default native constructor. -
PTA
public PTA(long size) Native array allocator. Access withPointer.position(long)
. -
PTA
Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointer
in classPointer
-
n
actual number of pts -
n
-
nalloc
size of allocated arrays -
nalloc
-
refcount
reference count (1 if no clones) -
refcount
-
x
arrays of floats -
x
-
y
-
y
-