@NoOffset @Properties(inherit=BulletCollision.class) public class btTriangleInfoMap extends btHashMap_btHashPtr_voidPointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
btTriangleInfoMap()
used to determine if a triangle is degenerate (length squared of cross product of 2 triangle edges < threshold)
|
btTriangleInfoMap(long size)
Native array allocator.
|
btTriangleInfoMap(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
calculateSerializeBufferSize() |
void |
deSerialize(btTriangleInfoMapData data) |
btTriangleInfoMap |
getPointer(long i) |
double |
m_convexEpsilon() |
btTriangleInfoMap |
m_convexEpsilon(double setter) |
double |
m_edgeDistanceThreshold()
used to compute connectivity: if the distance between two vertices is smaller than m_equalVertexThreshold, they are considered to be 'shared'
|
btTriangleInfoMap |
m_edgeDistanceThreshold(double setter) |
double |
m_equalVertexThreshold()
used to determine if a triangle edge is planar with zero angle
|
btTriangleInfoMap |
m_equalVertexThreshold(double setter) |
double |
m_maxEdgeAngleThreshold()
used to determine edge contacts: if the closest distance between a contact point and an edge is smaller than this distance threshold it is considered to "hit the edge"
|
btTriangleInfoMap |
m_maxEdgeAngleThreshold(double setter) |
double |
m_planarEpsilon()
used to determine if an edge or contact normal is convex, using the dot product
|
btTriangleInfoMap |
m_planarEpsilon(double setter) |
double |
m_zeroAreaThreshold() |
btTriangleInfoMap |
m_zeroAreaThreshold(double setter) |
btTriangleInfoMap |
position(long position) |
BytePointer |
serialize(Pointer dataBuffer,
btSerializer serializer)
fills the dataBuffer and returns the struct name (and 0 on failure)
|
clear, find, findIndex, get, getAtIndex, getKeyAtIndex, insert, remove, size
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 btTriangleInfoMap(Pointer p)
Pointer(Pointer)
.public btTriangleInfoMap(long size)
Pointer.position(long)
.public btTriangleInfoMap()
public btTriangleInfoMap position(long position)
position
in class btHashMap_btHashPtr_voidPointer
public btTriangleInfoMap getPointer(long i)
getPointer
in class btHashMap_btHashPtr_voidPointer
public btTriangleInfoMap m_convexEpsilon(double setter)
@Cast(value="btScalar") public double m_planarEpsilon()
public btTriangleInfoMap m_planarEpsilon(double setter)
@Cast(value="btScalar") public double m_equalVertexThreshold()
public btTriangleInfoMap m_equalVertexThreshold(double setter)
@Cast(value="btScalar") public double m_edgeDistanceThreshold()
public btTriangleInfoMap m_edgeDistanceThreshold(double setter)
@Cast(value="btScalar") public double m_maxEdgeAngleThreshold()
public btTriangleInfoMap m_maxEdgeAngleThreshold(double setter)
public btTriangleInfoMap m_zeroAreaThreshold(double setter)
public int calculateSerializeBufferSize()
@Cast(value="const char*") public BytePointer serialize(Pointer dataBuffer, btSerializer serializer)
public void deSerialize(@ByRef btTriangleInfoMapData data)
Copyright © 2024. All rights reserved.