#include <SimplexEdge.hpp>
Public Member Functions | |
| SimplexEdge ()=default | |
| Default constructor. | |
| constexpr | SimplexEdge (const SimplexEdge ©)=default |
| Copy constructor. | |
| constexpr | SimplexEdge (Length2 pA, VertexCounter iA, Length2 pB, VertexCounter iB) noexcept |
| Initializing constructor. More... | |
| constexpr auto | GetPointA () const noexcept |
| Gets point A (in world coordinates). | |
| constexpr auto | GetPointB () const noexcept |
| Gets point B (in world coordinates). | |
| 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. | |
Private Attributes | |
| Length2 | m_wA |
| Point A in world coordinates. This is the support point in proxy A. 8-bytes. | |
| Length2 | m_wB |
| Point B in world coordinates. This is the support point in proxy B. 8-bytes. | |
| IndexPair | m_indexPair |
| Index pair. More... | |
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. |
|
private |
Index pair.
Indices of points A and B. 2-bytes.
Referenced by GetIndexA(), GetIndexB(), and GetIndexPair().