Blender V4.3
btSubSimplexClosestResult Struct Reference

#include <btVoronoiSimplexSolver.h>

Public Member Functions

void reset ()
 
bool isValid ()
 
void setBarycentricCoordinates (btScalar a=btScalar(0.), btScalar b=btScalar(0.), btScalar c=btScalar(0.), btScalar d=btScalar(0.))
 

Public Attributes

btVector3 m_closestPointOnSimplex
 
btUsageBitfield m_usedVertices
 
btScalar m_barycentricCoords [4]
 
bool m_degenerate
 

Detailed Description

Definition at line 56 of file btVoronoiSimplexSolver.h.

Member Function Documentation

◆ isValid()

bool btSubSimplexClosestResult::isValid ( )
inline

Definition at line 72 of file btVoronoiSimplexSolver.h.

References m_barycentricCoords.

Referenced by updateClosestVectorAndPoints().

◆ reset()

void btSubSimplexClosestResult::reset ( )
inline

◆ setBarycentricCoordinates()

void btSubSimplexClosestResult::setBarycentricCoordinates ( btScalar a = btScalar(0.),
btScalar b = btScalar(0.),
btScalar c = btScalar(0.),
btScalar d = btScalar(0.) )
inline

Definition at line 81 of file btVoronoiSimplexSolver.h.

References b, and m_barycentricCoords.

Referenced by closestPtPointTetrahedron(), reset(), and updateClosestVectorAndPoints().

Member Data Documentation

◆ m_barycentricCoords

btScalar btSubSimplexClosestResult::m_barycentricCoords[4]

◆ m_closestPointOnSimplex

btVector3 btSubSimplexClosestResult::m_closestPointOnSimplex

Definition at line 58 of file btVoronoiSimplexSolver.h.

Referenced by closestPtPointTetrahedron().

◆ m_degenerate

bool btSubSimplexClosestResult::m_degenerate

◆ m_usedVertices

btUsageBitfield btSubSimplexClosestResult::m_usedVertices

The documentation for this struct was generated from the following file: