#include <playrho/d2/SimplexEdge.hpp>
Public Member Functions | |
| SimplexEdge ()=default | |
| Default constructor. | |
| constexpr | SimplexEdge (const Length2 &pA, VertexCounter iA, const Length2 &pB, VertexCounter iB) noexcept |
| Initializing constructor. More... | |
| constexpr auto | GetIndexA () const noexcept |
| Gets index A. | |
| constexpr auto | GetIndexB () const noexcept |
| Gets index B. | |
| constexpr auto | GetIndexPair () const noexcept |
| Gets the index pair. | |
| constexpr auto | GetPointA () const noexcept |
| Gets point A (in world coordinates). | |
| constexpr auto | GetPointB () const noexcept |
| Gets point B (in world coordinates). | |
Simplex edge.
This is the locations (in world coordinates) and indices of a pair of vertices from two shapes (shape A and shape B).
|
constexprnoexcept |
Initializing constructor.
| pA | Point A in world coordinates. |
| iA | Index of point A within the shape that it comes from. |
| pB | Point B in world coordinates. |
| iB | Index of point B within the shape that it comes from. |