Public Member Functions | |
| ndVertexArray (ndInt32 count) | |
Public Member Functions inherited from ndArray< ndBigVector > | |
| ndArray () | |
| constructor, set count and capacity to zero, not memory is allocated. | |
| ndArray (ndInt32 count) | |
| constructor, set count and capacity, allocated space for count elements. | |
| ndArray (const ndArray &source) | |
| copy constructor, allocate and copy only m_size elements from source. | |
| ~ndArray () | |
| deallocate all memory, dos not call destructor on any of th elements. | |
| ndInt32 | GetCount () const |
| return the size of the array. | |
| void | SetCount (ndInt32 count) |
| Set a new size. More... | |
| void | Resize (ndInt32 count) |
| Set a new size. More... | |
| ndInt32 | GetCapacity () const |
| return the capacity of the array. | |
| ndBigVector & | operator[] (ndInt32 i) |
| Get the i element for the array. More... | |
| const ndBigVector & | operator[] (ndInt32 i) const |
| Get the i element for the array. More... | |
| void | Swap (ndArray &other) |
| Interchange all the information with other. More... | |
| void | PushBack (const ndBigVector &element) |
| Add element to the end of the buffer. More... | |
| void | RandomShuffle (ndInt32 count) |
| Randomize the vector entries. | |
| void | ResetMembers () |
| set all member to 0. More... | |
| void | SetMembers (ndInt32 size, void *const memory) |
| assign all members. More... | |
Public Member Functions inherited from ndClassAlloc | |
| ndClassAlloc () | |
| Empty default constructor. | |
| ~ndClassAlloc () | |
| Empty. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ndClassAlloc | |
| D_OPERATOR_NEW_AND_DELETE static D_CORE_API void * | Malloc (size_t size) |
| Generic allocation for any function subclass from ndClassAlloc. | |
| static D_CORE_API void | Free (void *const ptr) |
| Generic destruction for any function subclass from ndClassAlloc. | |
Protected Attributes inherited from ndArray< ndBigVector > | |
| ndBigVector * | m_array |
| ndInt32 | m_size |
| ndInt32 | m_capacity |