@Name(value="b3AlignedObjectArray<b3DynamicBvh::sStkNN>") @NoOffset @Properties(inherit=Bullet3Collision.class) public class sStkNNArray extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
sStkNNArray() |
sStkNNArray(long size)
Native array allocator.
|
sStkNNArray(Pointer p)
Pointer cast constructor.
|
sStkNNArray(sStkNNArray otherArray)
Generally it is best to avoid using the copy constructor of an b3AlignedObjectArray, and use a (const) reference to the array instead.
|
| Modifier and Type | Method and Description |
|---|---|
int |
_capacity()
return the pre-allocated (reserved) elements, this is at least as large as the total number of elements,see size() and reserve()
|
b3DynamicBvh.sStkNN |
at(int n) |
void |
clear()
clear the array, deallocated memory.
|
void |
copyFromArray(sStkNNArray otherArray) |
b3DynamicBvh.sStkNN |
expand() |
b3DynamicBvh.sStkNN |
expand(b3DynamicBvh.sStkNN fillValue) |
b3DynamicBvh.sStkNN |
expandNonInitializing() |
b3DynamicBvh.sStkNN |
get(int n) |
sStkNNArray |
getPointer(long i) |
void |
initializeFromBuffer(Pointer buffer,
int size,
int _capacity)
non-recursive binary search, assumes sorted array
|
void |
pop_back() |
sStkNNArray |
position(long position) |
void |
push_back(b3DynamicBvh.sStkNN _Val) |
sStkNNArray |
put(sStkNNArray other) |
void |
removeAtIndex(int index) |
void |
reserve(int _Count) |
void |
resize(int newsize) |
void |
resize(int newsize,
b3DynamicBvh.sStkNN fillData) |
void |
resizeNoInitialize(int newsize)
resize changes the number of elements in the array.
|
int |
size()
return the number of elements in the array
|
void |
swap(int index0,
int index1)
heap sort from http://www.csse.monash.edu.au/~lloyd/tildeAlgDS/Sort/Heap/
|
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, zeropublic sStkNNArray(Pointer p)
Pointer(Pointer).public sStkNNArray(long size)
Pointer.position(long).public sStkNNArray()
public sStkNNArray(@Const @ByRef sStkNNArray otherArray)
public sStkNNArray position(long position)
public sStkNNArray getPointer(long i)
getPointer in class Pointer@ByRef @Name(value="operator =") public sStkNNArray put(@Const @ByRef sStkNNArray other)
public int size()
@ByRef public b3DynamicBvh.sStkNN at(int n)
@ByRef @Name(value="operator []") public b3DynamicBvh.sStkNN get(int n)
public void clear()
public void pop_back()
public void resizeNoInitialize(int newsize)
public void resize(int newsize,
@Const @ByRef(nullValue="b3DynamicBvh::sStkNN()")
b3DynamicBvh.sStkNN fillData)
public void resize(int newsize)
@ByRef public b3DynamicBvh.sStkNN expandNonInitializing()
@ByRef public b3DynamicBvh.sStkNN expand(@Const @ByRef(nullValue="b3DynamicBvh::sStkNN()") b3DynamicBvh.sStkNN fillValue)
@ByRef public b3DynamicBvh.sStkNN expand()
public void push_back(@Const @ByRef b3DynamicBvh.sStkNN _Val)
@Name(value="capacity") public int _capacity()
public void reserve(int _Count)
public void swap(int index0,
int index1)
public void initializeFromBuffer(Pointer buffer, int size, int _capacity)
public void copyFromArray(@Const @ByRef sStkNNArray otherArray)
public void removeAtIndex(int index)
Copyright © 2024. All rights reserved.