Newton Dynamics  4.00
dAabbPolygonSoup::dgNodeBuilder Class Reference
Inheritance diagram for dAabbPolygonSoup::dgNodeBuilder:
dAabbPolygonSoup::dNode

Public Member Functions

 dgNodeBuilder (const dVector &p0, const dVector &p1)
 
 dgNodeBuilder (const dVector *const vertexArray, dInt32 faceIndex, dInt32 indexCount, const dInt32 *const indexArray)
 
 dgNodeBuilder (dgNodeBuilder *const left, dgNodeBuilder *const right)
 
void SetBox (const dVector &p0, const dVector &p1)
 
- Public Member Functions inherited from dAabbPolygonSoup::dNode
dFloat32 RayDistance (const dFastRayTest &ray, const dTriplex *const vertexArray) const
 
dFloat32 BoxPenetration (const dFastAabbInfo &obb, const dTriplex *const vertexArray) const
 
dFloat32 BoxIntersect (const dFastRayTest &ray, const dFastRayTest &obbRay, const dFastAabbInfo &obb, const dTriplex *const vertexArray) const
 

Static Public Member Functions

static dFloat32 CalculateSurfaceArea (dgNodeBuilder *const node0, dgNodeBuilder *const node1, dVector &minBox, dVector &maxBox)
 

Public Attributes

dVector m_p0
 
dVector m_p1
 
dVector m_size
 
dVector m_origin
 
dFloat32 m_area
 
dgNodeBuilderm_left
 
dgNodeBuilderm_right
 
dgNodeBuilderm_parent
 
dInt32 m_indexBox0
 
dInt32 m_indexBox1
 
dInt32 m_enumeration
 
dInt32 m_faceIndex
 
dInt32 m_indexCount
 
const dInt32 * m_faceIndices
 
- Public Attributes inherited from dAabbPolygonSoup::dNode
dInt32 m_indexBox0
 
dInt32 m_indexBox1
 
dgLeafNodePtr m_left
 
dgLeafNodePtr m_right
 

Additional Inherited Members

- Public Types inherited from dAabbPolygonSoup::dNode
enum  dNodeType { m_binary = 0, m_leaf }