@Name(value="btAlignedObjectArray<btPersistentManifold*>") @NoOffset @Properties(inherit=BulletCollision.class) public class btPersistentManifoldArray extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btPersistentManifoldArray() |
btPersistentManifoldArray(btPersistentManifoldArray otherArray)
Generally it is best to avoid using the copy constructor of an btAlignedObjectArray, and use a (const) reference to the array instead.
|
btPersistentManifoldArray(long size)
Native array allocator.
|
btPersistentManifoldArray(Pointer p)
Pointer cast constructor.
|
| 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()
|
btPersistentManifold |
at(int n) |
void |
clear()
clear the array, deallocated memory.
|
void |
copyFromArray(btPersistentManifoldArray otherArray) |
btPersistentManifold |
expand() |
btPersistentManifold |
expand(btPersistentManifold fillValue) |
btPersistentManifold |
expandNonInitializing() |
int |
findBinarySearch(btPersistentManifold key)
non-recursive binary search, assumes sorted array
|
int |
findLinearSearch(btPersistentManifold key) |
int |
findLinearSearch2(btPersistentManifold key) |
btPersistentManifold |
get(int n) |
btPersistentManifoldArray |
getPointer(long i) |
void |
initializeFromBuffer(Pointer buffer,
int size,
int _capacity) |
void |
pop_back() |
btPersistentManifoldArray |
position(long position) |
void |
push_back(btPersistentManifold _Val) |
btPersistentManifoldArray |
put(btPersistentManifoldArray other) |
void |
remove(btPersistentManifold key) |
void |
removeAtIndex(int index) |
void |
reserve(int _Count) |
void |
resize(int newsize) |
void |
resize(int newsize,
btPersistentManifold 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 btPersistentManifoldArray(Pointer p)
Pointer(Pointer).public btPersistentManifoldArray(long size)
Pointer.position(long).public btPersistentManifoldArray()
public btPersistentManifoldArray(@Const @ByRef btPersistentManifoldArray otherArray)
public btPersistentManifoldArray position(long position)
public btPersistentManifoldArray getPointer(long i)
getPointer in class Pointer@ByRef @Name(value="operator =") public btPersistentManifoldArray put(@Const @ByRef btPersistentManifoldArray other)
public int size()
@ByPtrRef public btPersistentManifold at(int n)
@ByPtrRef @Name(value="operator []") public btPersistentManifold get(int n)
public void clear()
public void pop_back()
public void resizeNoInitialize(int newsize)
public void resize(int newsize,
@ByPtrRef
btPersistentManifold fillData)
public void resize(int newsize)
@ByPtrRef public btPersistentManifold expandNonInitializing()
@ByPtrRef public btPersistentManifold expand(@ByPtrRef btPersistentManifold fillValue)
@ByPtrRef public btPersistentManifold expand()
public void push_back(@ByPtrRef btPersistentManifold _Val)
@Name(value="capacity") public int _capacity()
public void reserve(int _Count)
public void swap(int index0,
int index1)
public int findBinarySearch(@ByPtrRef btPersistentManifold key)
public int findLinearSearch(@ByPtrRef btPersistentManifold key)
public int findLinearSearch2(@ByPtrRef btPersistentManifold key)
public void removeAtIndex(int index)
public void remove(@ByPtrRef btPersistentManifold key)
public void initializeFromBuffer(Pointer buffer, int size, int _capacity)
public void copyFromArray(@Const @ByRef btPersistentManifoldArray otherArray)
Copyright © 2024. All rights reserved.