public class Pta
extends com.sun.jna.Structure
Modifier and Type | Class and Description |
---|---|
static class |
Pta.ByReference |
static class |
Pta.ByValue |
Modifier and Type | Field and Description |
---|---|
int |
n
actual number of pts
C type : l_int32 |
int |
nalloc
size of allocated arrays
C type : l_int32 |
int |
refcount
reference count (1 if no clones)
C type : l_uint32 |
com.sun.jna.ptr.FloatByReference |
x
arrays of floats
C type : l_float32* |
com.sun.jna.ptr.FloatByReference |
y
arrays of floats
C type : l_float32* |
Constructor and Description |
---|
Pta() |
Pta(int n,
int nalloc,
int refcount,
com.sun.jna.ptr.FloatByReference x,
com.sun.jna.ptr.FloatByReference y) |
Pta(com.sun.jna.Pointer peer) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<?> |
getFieldOrder() |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public int n
public int nalloc
public int refcount
public com.sun.jna.ptr.FloatByReference x
public com.sun.jna.ptr.FloatByReference y
public Pta()
public Pta(int n, int nalloc, int refcount, com.sun.jna.ptr.FloatByReference x, com.sun.jna.ptr.FloatByReference y)
n
- actual number of ptsnalloc
- size of allocated arraysrefcount
- reference count (1 if no clones)x
- arrays of floatsy
- arrays of floatspublic Pta(com.sun.jna.Pointer peer)