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