Simplex.hpp File Reference
#include <PlayRho/Common/ArrayList.hpp>
#include <PlayRho/Common/Vector.hpp>
#include <PlayRho/Collision/SimplexEdge.hpp>
#include <array>
Go to the source code of this file.
Classes | |
class | playrho::d2::Simplex |
An encapsulation of a point, line segment, or triangle. More... | |
struct | playrho::d2::Simplex::Cache |
Simplex cache. More... | |
Namespaces | |
playrho | |
playrho::d2 | |
Typedefs | |
using | playrho::d2::SimplexEdges = ArrayList< SimplexEdge, MaxSimplexEdges, std::remove_const< decltype(MaxSimplexEdges)>::type > |
Simplex edge collection. More... | |
Functions | |
IndexPair3 | playrho::d2::GetIndexPairs (const SimplexEdges &collection) noexcept |
Gets index pairs for the given edges collection. More... | |
Length2 | playrho::d2::CalcSearchDirection (const SimplexEdges &simplexEdges) noexcept |
Calculates the "search direction" for the given simplex edge list. More... | |
Length2 | playrho::d2::GetScaledDelta (const Simplex &simplex, Simplex::size_type index) |
Gets the scaled delta for the given indexed element of the given simplex. More... | |
PLAYRHO_CONSTEXPR Length2 | playrho::d2::GetClosestPoint (const Simplex &simplex) |
Gets the "closest point". More... | |