A simplex is a set of up to 4 vertices. Its rank is the number of vertices it contains. More...
#include <gjk.h>
| Public Member Functions | |
| void | reset () | 
| Simplex () | |
| Public Attributes | |
| vertex_id_t | rank | 
| size of simplex (number of vertices)  More... | |
| SimplexV * | vertex [4] | 
| simplex vertex  More... | |
A simplex is a set of up to 4 vertices. Its rank is the number of vertices it contains.
GJK creates storage for 4 vertices. Since GJK does not need any more storage, it reuses these vertices throughout the algorithm by using multiple instance of this Simplex class. Definition at line 71 of file coal/narrowphase/gjk.h.
| 
 | inline | 
Definition at line 77 of file coal/narrowphase/gjk.h.
| 
 | inline | 
Definition at line 79 of file coal/narrowphase/gjk.h.
| vertex_id_t coal::details::GJK::Simplex::rank | 
size of simplex (number of vertices)
Definition at line 75 of file coal/narrowphase/gjk.h.
| SimplexV* coal::details::GJK::Simplex::vertex[4] | 
simplex vertex
Definition at line 73 of file coal/narrowphase/gjk.h.