33#define SARRAY_DEFAULT_MIN_SIZE 16
40template <
typename T,
size_t N = 64>
69 T* temp =
new T[size];
87 T* temp =
new T[maxSize];
99 for (pos = 0; pos <
m_size; ++pos)
118 for (
size_t j = pos + 1;
j <
m_size; ++
j)
SArray.
Definition: vhacdSArray.h:42
void Initialize()
Definition: vhacdSArray.h:136
size_t m_size
Definition: vhacdSArray.h:155
SArray(const SArray &rhs)
Definition: vhacdSArray.h:142
void PushBack(const T &value)
Definition: vhacdSArray.h:82
void Allocate(size_t size)
Definition: vhacdSArray.h:65
T * Data()
Definition: vhacdSArray.h:55
void Clear()
Definition: vhacdSArray.h:57
T * m_data
Definition: vhacdSArray.h:154
void operator=(const SArray &rhs)
Definition: vhacdSArray.h:125
~SArray()
Definition: vhacdSArray.h:150
T m_data0[N]
Definition: vhacdSArray.h:153
bool Erase(const T &value)
Definition: vhacdSArray.h:112
void PopBack()
Definition: vhacdSArray.h:64
void Resize(size_t size)
Definition: vhacdSArray.h:76
SArray()
Definition: vhacdSArray.h:149
const T & operator[](size_t i) const
Definition: vhacdSArray.h:49
bool Insert(const T &value)
Definition: vhacdSArray.h:104
size_t Size() const
Definition: vhacdSArray.h:54
bool Find(const T &value, size_t &pos)
Definition: vhacdSArray.h:96
size_t m_maxSize
Definition: vhacdSArray.h:156
T & operator[](size_t i)
Definition: vhacdSArray.h:44
const T * Data() const
Definition: vhacdSArray.h:56
Definition: polygon_mesh.h:46
CollisionMarginData data(default_margin)
Definition: collision_margin_data_unit.cpp:34
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: bullet_cast_bvh_manager.h:49
object value
Definition: tesseract_common_serialization_unit.cpp:495
JointDynamics j
Definition: tesseract_scene_graph_joint_unit.cpp:15