added Empty() and Clear() members to AABBBinaryTreeIndex.

This commit is contained in:
Luigi Malomo 2013-08-30 11:44:54 +00:00
parent f1761e86b7
commit e65be2aa17
1 changed files with 10 additions and 0 deletions

View File

@ -73,6 +73,16 @@ public:
return (this->tree);
}
bool Empty()
{
return (this->tree.pRoot == 0);
}
void Clear(void)
{
this->tree.Clear();
}
template <class OBJITER>
inline void Set(const OBJITER & _oBegin, const OBJITER & _oEnd) {
GetPointerFunctor getPtr;