![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
Specialized points list that allows direct access to the size. More...
#include <EPAConvexHullBuilder.h>
Public Member Functions | |
| size_type & | GetSizeRef () |
| Public Member Functions inherited from StaticArray< Vec3, cMaxPoints > | |
| StaticArray ()=default | |
| Default constructor. | |
| StaticArray (std::initializer_list< Vec3 > inList) | |
| Constructor from initializer list. | |
| StaticArray (const StaticArray< Vec3, N > &inRHS) | |
| Copy constructor. | |
| ~StaticArray () | |
| Destruct all elements. | |
| void | clear () |
| Destruct all elements and set length to zero. | |
| void | push_back (const Vec3 &inElement) |
| Add element to the back of the array. | |
| void | emplace_back (A &&... inElement) |
| Construct element at the back of the array. | |
| void | pop_back () |
| Remove element from the back of the array. | |
| bool | empty () const |
| Returns true if there are no elements in the array. | |
| size_type | size () const |
| Returns amount of elements in the array. | |
| size_type | capacity () const |
| Returns maximum amount of elements the array can hold. | |
| void | resize (size_type inNewSize) |
| Resize array to new length. | |
| const_iterator | begin () const |
| Iterators. | |
| const_iterator | end () const |
| iterator | begin () |
| iterator | end () |
| const Vec3 * | data () const |
| Vec3 * | data () |
| Vec3 & | operator[] (size_type inIdx) |
| Access element. | |
| const Vec3 & | operator[] (size_type inIdx) const |
| Vec3 & | at (size_type inIdx) |
| Access element. | |
| const Vec3 & | at (size_type inIdx) const |
| const Vec3 & | front () const |
| First element in the array. | |
| Vec3 & | front () |
| const Vec3 & | back () const |
| Last element in the array. | |
| Vec3 & | back () |
| void | erase (const_iterator inIter) |
| Remove one element from the array. | |
| void | erase (const_iterator inBegin, const_iterator inEnd) |
| Remove multiple element from the array. | |
| StaticArray< Vec3, N > & | operator= (const StaticArray< Vec3, N > &inRHS) |
| Assignment operator. | |
| StaticArray< Vec3, N > & | operator= (const StaticArray< Vec3, M > &inRHS) |
| Assignment operator with static array of different max length. | |
| bool | operator== (const StaticArray< Vec3, N > &inRHS) const |
| Comparing arrays. | |
| bool | operator!= (const StaticArray< Vec3, N > &inRHS) const |
| uint64 | GetHash () const |
| Get hash for this array. | |
Additional Inherited Members | |
| Public Types inherited from StaticArray< Vec3, cMaxPoints > | |
| using | value_type |
| using | size_type |
| using | const_iterator |
| using | iterator |
| Static Public Attributes inherited from StaticArray< Vec3, cMaxPoints > | |
| static constexpr uint | Capacity |
| Protected Attributes inherited from StaticArray< Vec3, cMaxPoints > | |
| size_type | mSize |
| Storage | mElements [N] |
Specialized points list that allows direct access to the size.
|
inline |