@NoOffset @Properties(inherit=LinearMath.class) public class btQuadWord extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btQuadWord()
\brief No initialization constructor
|
btQuadWord(double _x,
double _y,
double _z)
\brief Three argument constructor (zeros w)
|
btQuadWord(double _x,
double _y,
double _z,
double _w)
\brief Initializing constructor
|
btQuadWord(long size)
Native array allocator.
|
btQuadWord(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DoublePointer |
asDoublePointer()
operator btScalar*() replaces operator[], using implicit conversion.
|
boolean |
equals(btQuadWord other) |
btQuadWord |
getPointer(long i) |
double |
getX()
\brief Return the x value
|
double |
getY()
\brief Return the y value
|
double |
getZ()
\brief Return the z value
|
boolean |
notEquals(btQuadWord other) |
btQuadWord |
position(long position) |
void |
setMax(btQuadWord other)
\brief Set each element to the max of the current values and the values of another btQuadWord
|
void |
setMin(btQuadWord other)
\brief Set each element to the min of the current values and the values of another btQuadWord
|
void |
setValue(double _x,
double _y,
double _z)
\brief Set x,y,z and zero w
|
void |
setValue(double _x,
double _y,
double _z,
double _w)
\brief Set the values
|
void |
setW(double _w)
\brief Set the w value
|
void |
setX(double _x)
\brief Set the x value
|
void |
setY(double _y)
\brief Set the y value
|
void |
setZ(double _z)
\brief Set the z value
|
double |
w()
\brief Return the w value
|
double |
x()
\brief Return the x value
|
double |
y()
\brief Return the y value
|
double |
z()
\brief Return the z value
|
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 btQuadWord(Pointer p)
Pointer(Pointer).public btQuadWord(long size)
Pointer.position(long).public btQuadWord()
public btQuadWord(@Cast(value="const btScalar") double _x, @Cast(value="const btScalar") double _y, @Cast(value="const btScalar") double _z)
x - Value of xy - Value of yz - Value of zpublic btQuadWord position(long position)
public btQuadWord getPointer(long i)
getPointer in class Pointer@Cast(value="btScalar*") @Name(value="operator btScalar*") public DoublePointer asDoublePointer()
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef btQuadWord other)
@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@Const @ByRef btQuadWord other)
public void setValue(@Cast(value="const btScalar") double _x, @Cast(value="const btScalar") double _y, @Cast(value="const btScalar") double _z)
x - Value of xy - Value of yz - Value of zpublic void setValue(@Cast(value="const btScalar") double _x, @Cast(value="const btScalar") double _y, @Cast(value="const btScalar") double _z, @Cast(value="const btScalar") double _w)
x - Value of xy - Value of yz - Value of zw - Value of wpublic void setMax(@Const @ByRef btQuadWord other)
other - The other btQuadWord to compare withpublic void setMin(@Const @ByRef btQuadWord other)
other - The other btQuadWord to compare withCopyright © 2024. All rights reserved.