125 for (
int i = size; i > 0; i--) {
A simplex class for representing a convex hull in n-dimensional space.
Definition gjk_simplex.hpp:18
Simplex(Vec3d const &a, Vec3d const &b, Vec3d const &c, Vec3d const &d)
Construct a simplex with four vertices.
Definition gjk_simplex.hpp:90
Simplex(Vec3d const &a, Vec3d const &b)
Construct a simplex with two vertices.
Definition gjk_simplex.hpp:54
Simplex()
Definition gjk_simplex.hpp:29
void PushFront(Vec3d const &p)
Add a new vertex to the front of the simplex.
Definition gjk_simplex.hpp:124
void PushBack(Vec3d const &p)
Add a new vertex to the end of the simplex.
Definition gjk_simplex.hpp:110
Simplex(Vec3d const &a)
Construct a simplex with one vertex.
Definition gjk_simplex.hpp:39
VecNT< Vec3d, 4 > points
Definition gjk_simplex.hpp:21
Simplex(Vec3d const &a, Vec3d const &b, Vec3d const &c)
Construct a simplex with three vertices.
Definition gjk_simplex.hpp:71
int Size()
Definition gjk_simplex.hpp:100
Definition bond_entry.hpp:7
std::array< double, 3 > Vec3d
Definition utils_macros.hpp:18
std::array< T, N > VecNT
Definition utils_macros.hpp:32