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