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